jquery-simple-combobox icon indicating copy to clipboard operation
jquery-simple-combobox copied to clipboard

Cannot re-enabled disabled element

Open SHaTRO opened this issue 9 years ago • 0 comments

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.

SHaTRO avatar Sep 09 '15 19:09 SHaTRO