how to create check all in jquery code example
Example 1: checkbox on click jquery select all
$("#checkAll").click(function(){
$('input:checkbox').not(this).prop('checked', this.checked);
});
Example 2: select all checkboxes jquery
$('input:checkbox').prop('checked', true);