asp任何取得多个表单的值
作者:seoma 时间:2008-04-15 15:31:00
当一个页面上有一百个表单项,你是怎么获取上面的值勤的?
这是一段简单的代码,你试试这段代码,试过后,欢迎留言说一下你的想法?
index.asp
<form name="form1" method="post" action="submit.asp">
用户名:<input type="text" name="username"><br>
密码:<input type="text" name="password"><br>
介绍:<textarea name="content" cols="20" rows="10"><
textarea><br>
性别:<select name="sex">
<option value="男">男</option>
<option value="女">女</option>
</select>
<input type="submit" value="提交" name="submit">
<input type="hidden" name="id" value="5">
</form>
submit.asp
<%
For Each j in request.Form
response.write j&"="&request(j)&"<br>"
Next
%>
标签:表单,数据,代码
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
使用Python第三方库pygame写个贪吃蛇小游戏
2021-05-19 11:08:37
![](https://img.aspxhome.com/file/2023/1/76701_0s.png)
python PyQt5/Pyside2 按钮右击菜单实例代码
2023-03-11 15:03:19
阿里巴巴技术文章分享 Javascript继承机制的实现
2024-04-30 09:59:16
![](https://img.aspxhome.com/file/2023/1/130881_0s.png)
Python入门篇之条件、循环
2021-09-16 16:10:00
MybatisPlus二级缓存体系探究分析
2022-12-24 00:42:26
![](https://img.aspxhome.com/file/2023/5/132275_0s.png)
python加速器numba使用详解
2022-02-27 15:24:22
SQL语句的执行原理分析
2024-01-15 03:17:59
django多对多表的创建,级联删除及手动创建第三张表
2022-08-13 02:10:48
![](https://img.aspxhome.com/file/2023/3/115733_0s.png)
python编程控制Android手机操作技巧示例
2021-12-01 07:59:05
![](https://img.aspxhome.com/file/2023/3/69553_0s.png)
Python 依赖库太多了该如何管理
2021-06-22 22:29:02
![](https://img.aspxhome.com/file/2023/8/99208_0s.gif)
javascript打印html内容功能的方法示例
2024-04-25 13:13:23
Python jieba结巴分词原理及用法解析
2023-08-29 17:43:36
![](https://img.aspxhome.com/file/2023/2/62262_0s.png)
WEB开发之注册页面验证码倒计时代码的实现
2024-04-22 22:32:31
![](https://img.aspxhome.com/file/2023/1/135651_0s.png)
Python用list或dict字段模式读取文件的方法
2022-07-16 18:29:07
python3:excel操作之读取数据并返回字典 + 写入的案例
2023-11-25 17:59:22
![](https://img.aspxhome.com/file/2023/7/105597_0s.jpg)
vue3.0如何在全局挂载对象和方法
2024-05-13 09:07:59
![](https://img.aspxhome.com/file/2023/0/126650_0s.png)
Python 3.10 中 6 个兴奋的新特性
2021-02-21 03:30:26
![](https://img.aspxhome.com/file/2023/1/127851_0s.jpg)
pandas中read_sql使用参数进行数据查询的实现
2023-08-01 23:14:08
建立适当的索引是实现查询优化的首要前提
2009-01-19 13:11:00
![](https://img.aspxhome.com/file/UploadPic/20091/2009120114623525.jpg)
python beautifulsoup4 模块详情
2021-12-30 07:50:03
![](https://img.aspxhome.com/file/2023/3/107593_0s.webp)