show checkbox list with jquery code example
Example 1: check a checkbox jquery
$('#grepperRocks').prop('checked', true);
Example 2: check checkbox by jquery
$('.myCheckbox')[0].checked = true;
$('.myCheckbox')[0].checked = false;
$('#grepperRocks').prop('checked', true);
$('.myCheckbox')[0].checked = true;
$('.myCheckbox')[0].checked = false;