同一个页面显示不同内容的问题.
我要修改别人一个页面,左边是一些链接,点击可
以在同一页面右边显示不同内容.原来的页面是用这样的方式写的.如
<a href="../nbgg/nbgg.asp?ggname=cdsjgg" target=_self>
if pro_ggname="sjzlgg" then.....
else if pro_ggname="zxrjxz" then.....
显示的时候是这样写的:
Response.Write
(" <font
size=1><b>数据上载</b></font>")
Response.Write("<form METHOD='POST' ENCTYPE='multipart/form-data'
ACTION='upload.asp'>")
Response.Write
(" 源文件1:
<input type='file'
name='file1'><br><br> &n
bsp; 源文件2:<input type='file'
name='file2'><br><br> &n
bsp; 源文件3:<input type='file'
name='file2'><br><br> &n
bsp; &
nbsp; <input type='submit' value='上载'>")
Response.Write("</form>")
我现在要写一个查询模块,该如何画表单,添加文本区域,提交表单啊?用
Dreamweaver设计的时候,同一个页面是没显示出任何东西的.不知道怎么办,我是
先画文本框,然后都添加Response.Write,如:
Response.Write("<form name="form1" method="post" action="zhcx.asp">")
Response.Write("<label>3244444")
Response.Write("<input type="text" name="textfield">")
Response.Write("</label>")
Response.Write("</form>")可是老是出错,说少了"),可是后面明明有啊,我这样
是不是方法不对啊,还是有更好的方法,大侠求助一下啊.
问题点数:30、回复次数:1Top
1 楼ybfqlyq(Rossy|http://blog.ybfq.com)回复于 2006-03-15 09:01:08 得分 30
Response.Write("<form name="form1" method="post" action="zhcx.asp">")
Response.Write("<label>3244444")
Response.Write("<input type="text" name="textfield">")
把裡面的雙引號換成單引號看一下。Top
相关问题
- 怎么在同一个页面根据INPUT输入框的值来显示不同的内容?
- 在同一个asp页面里,怎样让他根据参数不同动态的显示不同的内容呢?
- struts中,当你存储了一个ActionForm的内容到数据库里面,下次又想取出这些内容在同一个页面显示,是不是在页面上ActionForm的域被显示之
- 如何在多个ASP页面中显示同一个字符串变量?
- 如何根据编号读出名称显示在同一个页面上
- 如何在同一个位置显示不同的内容?
- 取得URL传回来的参数,在同一个页面显示不同的面页效果
- 该如何在同一个datagrid中显示!来自两个表中的内容?
- 怎样将动态生成的新闻标题以及相应的新闻内容放同一个页面???
- 同一个页面,两个from 问题。




