Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to enable button after checked


<input onclick="alert('thank you for agreeing to the terms and conditions')" type="submit" name="sendNewSms" class="inputButton" id="sendNewSms" value=" i agree to the terms and conditions " />

<input type="checkbox"  onchange="document.getElementById('sendNewSms').disabled = !this.checked;" />
<!--this will only work if u click the up arrow button on the right side--> 
 
PREVIOUS NEXT
Tagged: #enable #button #checked
ADD COMMENT
Topic
Name
9+5 =