get all the selected checkbox jquery code example
Example 1: checkbox on click jquery select all
$("#checkAll").click(function(){
$('input:checkbox').not(this).prop('checked', this.checked);
});
Example 2: find all checkbox inside div jquery
$('#selectChb').click(function(){
$(':checkbox').prop("checked", true);
});