Now, how can i have the textarea enabled only when the checkbox is checked? Is there a simple javascript to use?
Enable text box when checkbox is checked
Posted: 07 Dec 2017, 07:29
by Admin
Hello,
1. With javascript, register a 'click' event to the checkbox element.
2. In the function called by that click event check if the checkbox is enabled. If true, remove the 'disabled' attribute.