jquery - Disable a drop down and still submit a value? -


i have drop down box lock after item has been selected. unfortunately using 'disable' stops field being submitted @ when form submitted. there way around this?

you can re-enable dropdown list right before form submitted:

$("form").submit(function() {     $("#yourdropdown").prop("disabled", false); }); 

Comments

Popular posts from this blog

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -