check whether a checkbox is checked in jQuery
snippet in javascript

jquery in checkbox checked

user5007

// Check a checkbox
$(selector).prop('checked', true);
// Un-check a checkbox
$(selector).prop('checked', false);
// Determine if checked or not
isChecked = $(selector).prop('checked');

check whether a checkbox is checked in jQuery

user7385

if ($('#grepperRocks').is(':checked')) {
	// this checkbox is checked
}