Answers for "How do I check whether a checkbox is checked in jQuery?"

3

check whether a checkbox is checked in jQuery

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

How do I check whether a checkbox is checked in jQuery?

$('#' + id).is(":checked")
Posted by: Guest on May-06-2020

Code answers related to "How do I check whether a checkbox is checked in jQuery?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language