jquery input checked true example
Example 1: jquery set checkbox checked
<script>
//jQuery 1.6+ use
$('#checkbox').prop('checked', true);
//jQuery 1.5.x and below use
$('#checkbox').attr('checked', true);
</script>
Example 2: checkbox set checked jquery
.prop('checked', true);