请问各位如何提交列表框,也就是之间的东西

aben527cn 2002-02-20 12:18:32
比如这个:
<form name=form1>
<input type="text" name="str" maxlength="20" size="45">
<SELECT NAME=""></SELECT>
<select name="search_time" size="1">
<option value="all" selected>一个月以来</option>
<option value="month">一年以来</option>
<option value="year">不限时间</option>
</select>
</form>
我提交以后传过去的只有text里的东西,没有select里的
...全文
41 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
aben527cn 2002-02-20
  • 打赏
  • 举报
回复
我提交的时候用的是一个javascript
在目的页打印传过去的参数,只有text里的,没有select里的
aben527cn 2002-02-20
  • 打赏
  • 举报
回复
不过我用的不是你的方法
我看不懂你的方法
我是把FORM的范围加大了,不过原来也是全包括了那些元素啊,不知道为什么现在又好了
aben527cn 2002-02-20
  • 打赏
  • 举报
回复
啊,已经好了
谢谢无为兄
karma 2002-02-20
  • 打赏
  • 举报
回复
which collection are you looking at? if you do not set
<form method="post">

your data will be in request.querystring collection, otherwise, they are in request.form collection, add these lines to the top of your page:

<%
response.write "querystring:<BR>"
for each item in request.querystring
response.write item & "=" & request.querystring(item) & "<BR>"
next

response.write "Form:<BR>"
for each item in request.form
response.write item & "=" & request.form(item) & "<BR>"
next
%>

28,406

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧