select all checked checkboxes jquery code example
Example 1: jquery get all checkbox checked
$('.theClass:checkbox:checked')
Example 2: select all checkboxes jquery
$('input:checkbox').prop('checked', true);
Example 3: jquery get selected checkboxes
var selected = [];
$('#checkboxes input:checked').each(function() {
selected.push($(this).attr('name'));
});