The following code is the drop down box, and when user changes the
selection, it will display the value of the selection automatically by the
onchange event. This code works fine with GET Protocol.
<html>
<body>
<form name="eventform" action="eventtest3.asp" method="GET">
<select name="id" onchange="location.href='eventtest3.asp?id='+this. value">
<option value="select">select</option>
<option value="1001">1001</option>
<option value="1002">1002</option>
<option value="1003">1003</option>
</select>
<%= Request.Querystring("id") %>
</form>
</body>
</html>
However, if I use POST protocol, it doesn't work anymore.
<html>
<body>
<form name="eventform" action="eventtest4.asp" method="POST">
<select name="id" onchange="location.href='eventtest4.asp'">
<option value="select">select</option>
<option value="1001">1001</option>
<option value="1002">1002</option>
<option value="1003">1003</option>
</select>
<%= Request.Form("id") %>
</form>
</body>
</html>
My question is: do we need to use GET protocol to trigger the reload of the
page?? Can I use POST protocol to accomplish the same task??
Please advise. Thanks!