The script itself works like this, you select a category, it selects all checkboxes in it, you remove it, but after that the group selection doesn't work = (.
$('.admin:checkbox').change(function() { var name = $(this).attr("id"); //alert(name); $("input[name='" + name + "']").attr('checked', $('#' + name).is(':checked')); });