asp 取文本框名称代码
人气:0
<%
For each obj in Request.Form
response.write "<font color=red>"&obj&"</font><br>"
obj=Request.Form(obj)
response.write obj&"<br>"
Next
%>
<form name=form action="1.asp" method="post">
<input type=text name="ad"><br><br>
<input type=text name="sdf"><br><br>
<input type=text name="r4g"><br><br>
<input type=text name="hrre"><br><br>
<input type=submit value="update">
</form>
For each obj in Request.Form
response.write "<font color=red>"&obj&"</font><br>"
obj=Request.Form(obj)
response.write obj&"<br>"
Next
%>
<form name=form action="1.asp" method="post">
<input type=text name="ad"><br><br>
<input type=text name="sdf"><br><br>
<input type=text name="r4g"><br><br>
<input type=text name="hrre"><br><br>
<input type=submit value="update">
</form>
加载全部内容