checked checkbox from jquery based on attr prop code example
Example 1: check a checkbox jquery
$('#grepperRocks').prop('checked', true);
Example 2: check checkbox by jquery
$('.myCheckbox').prop('checked', true);
$('.myCheckbox').prop('checked', false);