set checkbox id value jquery code example
Example 1: jquery checkbox set checked
//For jQuery 1.6 and above
$('#myCheckBoxID').prop('checked', true);
//For jQuery Before 1.6
$('#myCheckBoxID').attr('checked','checked');
Example 2: checkbox set checked jquery
.prop('checked', true);