how to set checkbox checked based on id is present using 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);