GET表單

代碼如下:

<!DOCTYPE html>

<html><br style="font-family:Verdana, Arial, Helvetica;" /> <body><br style="font-family:Verdana, Arial, Helvetica;" /> <form action="demo_reqquery.asp" method="get"><br style="font-family:Verdana, Arial, Helvetica;" /> Your name: <input type="text" name="fname" size="20" /><br style="font-family:Verdana, Arial, Helvetica;" /> <input type="submit" value="Submit" /><br style="font-family:Verdana, Arial, Helvetica;" /> </form><br style="font-family:Verdana, Arial, Helvetica;" /> <%<br /> dim fname<br /> fname=Request.QueryString("fname")<br /> If fname<>"" Then<br />       Response.Write("Hello " & fname & "!<br>")<br />       Response.Write("How are you today?")<br /> End If<br /> %><br style="font-family:Verdana, Arial, Helvetica;" /> </body><br style="font-family:Verdana, Arial, Helvetica;" />

</html>

運(yùn)行結(jié)果:

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频