jquery check all and uncheck all checkbox code example
Example 1: jquery get all checkbox checked
$('.theClass:checkbox:checked')
Example 2: select all checkboxes jquery
$('input:checkbox').prop('checked', true);
$('.theClass:checkbox:checked')
$('input:checkbox').prop('checked', true);