I’m using classic asp, I have a drop down list that the user selects and then presses submit. After they press submit the drop down list is going back to the default value instead of what they selected. Is there anyway to keep the state of the drop down between post backs instead of it going back to the default? Can post code sample if needed.
Thanks!
I’m using classic asp, I have a drop down list that the user selects
Share
You have to “select it” serverside according to the values that the user has POSTed.
Of course, you might want to homegrown your own function to avoid all that boilerplate.
If you pass the function a blank
select_id, it will not care about trying to select the selected item of theselecton postback.