最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
动态添加form项
时间:2022-06-30 11:18:42 编辑:袖梨 来源:一聚教程网
<%@ language = vbscript%>
<% Response.Expires = 0 %>
>
Dynamically Growing Form
<%
If Request("Action") = "Submit the List" Then
' Show what was entered.
Response.Write "Here are the Items submitted:
"
nItems = Request.Form("Items").Count
For i = 1 To nItems
' Show submitted Items
Response.Write Request.Form("Items")(i) & "
"
Next
Response.Write Request("Item") & "
"
Else
' Create the form from all items. %>
<% Response.Expires = 0 %>
>
<%
If Request("Action") = "Submit the List" Then
' Show what was entered.
Response.Write "Here are the Items submitted:
"
nItems = Request.Form("Items").Count
For i = 1 To nItems
' Show submitted Items
Response.Write Request.Form("Items")(i) & "
"
Next
Response.Write Request("Item") & "
"
Else
' Create the form from all items. %>