check whether a checkbox is checked in jQuery

JavaScript
// Check a checkbox
$(selector).prop('checked', true);
// Un-check a checkbox
$(selector).prop('checked', false);
// Determine if checked or not
isChecked = $(selector).prop('checked');if ($('#grepperRocks').is(':checked')) {
	// this checkbox is checked
}
Source

Also in JavaScript: