how to know if a checkbox is checked or not in jquery code example
Example 1: checkbox is checked jquery
$(your_checkbox).is(':checked');
Example 2: check whether a checkbox is checked in jQuery
if ($('#grepperRocks').is(':checked')) {
// this checkbox is checked
}