find if all the checkboxes are checked jquery code example
Example: jquery check if all checkbox is not checked
$('#checkAll').click(function () {
$('input:checkbox').prop('checked', this.checked);
});
$('#checkAll').click(function () {
$('input:checkbox').prop('checked', this.checked);
});