check if all the checkboxes are checked in a div 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);
});