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

JavaScript
$('#' + id).is(":checked")if ($('#grepperRocks').is(':checked')) {
	// this checkbox is checked
}check box
Source

Also in JavaScript: