循环自动提交
就是要实现这样的
表单中有1,2,3,4,....10,我想把它们依次提交到另一页(先提交1,再提交2,再提交3。。。。),怎么改
文件:0.asp
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td><form action="1.asp" method=post >
<p align="center"><font color="#0000FF"> </font> <input name="txtname" type="text" id="txtname" value="
<%
dim i
for i=1 to 10
response.write "http://www.xxx.com/pages/"&i&".htm"
next
%>"> <input type="submit" value="提交" name="submit" ></p>
</form>
文件:1.asp
Dim Url,id
id=request("txtname")
Url="http://www.xxx.com/pages/"&id&".htm"
Response.Redirect url