Your listbox (SELECT) needs to have a name:
<SELECT NAME="listbox1">
<option value="myDesiredValue">What I want the user to see</option>
</select>
Then to retrieve the value after the form has been submitted:
<%
MyListboxValue = request.form("listbox1"
response.write(MyListboxValue) 'verify that you got what you wanted
%>
Everything is working well. When I resubmit the page to itself, the first list box displays the first item, but how could it display the item that was selected before?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.