Answers for "how to check if the checkbox is checked or not"

3

if checkbox is checked

if ($('#id_input').is(':checked')) { }
Posted by: Guest on March-17-2020
2

checkbox is not getting checked

<input type="checkbox" name="free" value="mon09" onClick="this.checked=!this.checked;">
Posted by: Guest on May-07-2021

Code answers related to "how to check if the checkbox is checked or not"

Code answers related to "Javascript"

Browse Popular Code Answers by Language