check a checkbox jquery
snippet in javascript

Setting “checked” for a checkbox with jQuery

user6042

$('.myCheckbox').prop('checked', true);
$('.myCheckbox').prop('checked', false);

jquery set checkbox

user5858

//jQuery 1.6+ use:
$('.checkboxClass').prop('checked', true);
//jQuery 1.5.x and below use:
$('.checkboxClass').attr('checked', true);

jquery checkbox checked

user9482

$("checkbox").is(":checked")

check a checkbox jquery

user341

$('#grepperRocks').prop('checked', true);

check whether a checkbox is checked in jQuery

user106

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