同一个页面传递参数!
我想请问大家有什么办法向同一个页面传递参数!
楼主说的是这个意思么?
<%
Dim Action
Action = Request.QueryString("action")
Select Case Action
Case "submit" : Call WriteText()
Case Else : Call Input()
End Select
Sub Input()
Response.Write("<table width=""100"" height=""25"" border=""0"">")
Response.Write("<form id=""forminput"" method=""post"" action=""?action=submit"">")
Response.Write("<tr><td><input type=""text"" name=""text"" /></td><td><input type=""submit"" value=""确定提交"" /></td></tr>")
Response.Write("</form></table>")
End Sub
Sub WriteText()
Dim Text
Text = Request.Form("text")
Response.Write("你输入的是:"&Text)
End Sub
%>