jquery set checkbox checked
snippet in javascript

jquery set checkbox checked

user6474

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

jquery checkbox checked value

user7168

if ($('#check_id').is(":checked"))
{
  // it is checked
}

jquery set checkbox checked

user7887

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

jquery checkbox set checked

user8357

//For jQuery 1.6 and above
$('#myCheckBoxID').prop('checked', true);
//For jQuery Before 1.6
$('#myCheckBoxID').attr('checked','checked');

jquery set checkbox checked

user1008

<script>
	//jQuery 1.6+ use
	$('#checkbox').prop('checked', true);

	//jQuery 1.5.x and below use
	$('#checkbox').attr('checked', true);
</script>

set checkbox checked jquery

user453

$("#checkboxid").attr('checked', true);