I have a form that auto submits to itself when an onchange event occurs. What I can't figure out is how do I now get it so that the menu's focus is now on the value that was previously selected? Here's the code without database stuff.
<form action="test.asp" method="get" name="form1">
<select name="options" onChange=document.form1.submit()>
So now when someone selects an option, for example option two, then the page reloads itself and the url will now be: test.asp?options=2
so now i would probably do a request.form("options") to get the value, but what do I need to write in order for the menu dropdrop to have option two displayed instead of the first option?
The only way I can think of is to have two recordsets. The first one only has the value selected and the other one has the rest of the options. I'm sure there is a better way. Any suggestion?