jquery select all the checked checkboxes code example
Example 1: jquery get all checkbox checked
$('.theClass:checkbox:checked')
Example 2: select all checkbox jquery
$('#select_all').change(function() {
var checkboxes = $(this).closest('form').find(':checkbox');
checkboxes.prop('checked', $(this).is(':checked'));
});