I am trying to disable and enable a checkbox from javascript.
>
The problem is that if the checkbox starts out as:
>
>
I can change it back and forth with no problems.
using disabled = true or disabled = false
>
If I start out as:
>
>
I can never enable it again using the above statements.
>
The problem is that if the checkbox starts out as:
>
Code:
<input id="Override" type="checkbox" name="Override"/>
I can change it back and forth with no problems.
using disabled = true or disabled = false
>
If I start out as:
>
Code:
<input id="Override" type="checkbox" name="Override" disabled="disabled"/>
I can never enable it again using the above statements.
Comment