I have a
<select disabled="disabled"> .... </select> <input type="hidden" name="select_name" value="selected value" />
select_name is the name that you would normally give the
<select name="myselect" disabled="disabled"> <option value="myselectedvalue" selected="selected">My Value</option> .... </select> <input type="hidden" name="myselect" value="myselectedvalue" />
Now with this one, I have noticed that depending on what webserver you are using, you may have to put the
hidden input either before, or after the
If my memory serves me correctly, with IIS, you put it before, with Apache you put it after. As always, testing is key.