I have a form with some inputs disabled. I want these inputs to be turned on with a double click. Unfortunately, JS events don't seem to fire when inputs are disabled.
<input type="text" value="asdf" disabled="disabled" ondblclick="this.disabled=false;">โ
Is there any way to limit this restriction?
Or will I just have to wrap any affected input in the gap to accommodate the event?
http://jsfiddle.net/vhktx/
source share