how to mark a checkbox checked by jquery code example
Example 1: set checkbox checked jquery
$("#checkboxid").attr('checked', true);
Example 2: checkbox set checked jquery
.prop('checked', true);
$("#checkboxid").attr('checked', true);
.prop('checked', true);