0
下面是我的ASP经典code.i有一个问题时,如果其他语句像这样..实际上它不工作..我想要做的是当我选择美国然后提交它会显示选中的美国..默认是ALL.sorry,因为我的英文不好。ASP CLASSIC LIST/MENU if语句
<% Response.write"<form action=""untitled.asp"" method=""post"">"
Response.write"<select name=""country"">"
Response.write"<option selected>ALL</option>"
Response.write" <option value=""1"" if request(""country"")=""1"" then
Response.Write""selected"">USA</option>"
Response.write" <option value=""2"" if request(""country"")=""2"" then
Response.Write""selected"">BRAZIL</option>"
Response.write"<label>"
Response.write" <input type=submit name=button id=button value=Submit />"
Response.write"</label>"
Response.write"</form>"
%>
感谢