checkbox is checked jquery

JavaScript
//using plane javascript 
if(document.getElementById('on_or_off_checkbox').checked) {
    //I am checked
} 

//using jQuery
if($('#on_or_off_checkbox').is(':checked')){
    //I am checked
}$(your_checkbox).is(':checked');$("checkbox").is(":checked")$('#' + id).is(":checked")// 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: