jquery-simple-combobox
jquery-simple-combobox copied to clipboard
Cannot re-enabled disabled element
Once I set "disabled:true" on an scombobox, it will not reset to enabled with "disabled:false". The text input box keeps the disabled property.
I added this line of code to my javascript to "reenable" the text input: $(selector + ' input').prop('disabled', isDisabled) where selector is the original id selector (e.g., "#choice") and isDisabled is a boolean flag.