Answers for "jquery to get checkbox checked or not"

4

jquery check if checkbox is not checked

if (!$("#checkboxID").is(":checked")) {
    // do something if the checkbox is NOT checked
}
Posted by: Guest on May-07-2020
3

check whether a checkbox is checked in jQuery

if ($('#grepperRocks').is(':checked')) {
	// this checkbox is checked
}
Posted by: Guest on March-17-2020

Code answers related to "jquery to get checkbox checked or not"

Code answers related to "Javascript"

Browse Popular Code Answers by Language