Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to enable button after checked

<input type="submit" name="sendNewSms" class="inputButton" id="sendNewSms" value=" Send " />

<input type="checkbox"  onchange="document.getElementById('sendNewSms').disabled = !this.checked;" />
 
PREVIOUS NEXT
Tagged: #enable #button #checked
ADD COMMENT
Topic
Name
6+6 =