Drop-down value selected
Posted on 2001-08-14
I'm developing a few pages in ASP using HTML and VBscript. Currently I am working on something where the user types in search criteria and hits a submit button, then it sends the info to another page and lists the results. When they go back to the search page, I want all the criteria they entered to still be in the boxes. I have it working with the text boxes but the drop-downs keep coming up with the default value instead of what they selected.
Example: in a drop-down list of 1-9, if they choose '5' and then hit submit, when they go back to that page I want the drop-down to have the '5' selected still instead of the default. I am passing the values through - in the URL '5' would still be selected, it just doesn't show in the drop-down.
Hope this makes sense - can someone help? Thanks