Answers for "button disable/enable javascript and after two checkbox checked"

2

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-->
Posted by: Guest on June-23-2021
0

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;" />
Posted by: Guest on June-23-2021

Code answers related to "button disable/enable javascript and after two checkbox checked"

Browse Popular Code Answers by Language