if all checkbox is checked jquery code example
Example 1: jquery get all checkbox checked
$('.theClass:checkbox:checked')
Example 2: jquery check if all checkbox is not checked
$('#checkAll').click(function () {
$('input:checkbox').prop('checked', this.checked);
});