[Solved] Select checkboxes on the basis of previously selected checkbox


ok, so here you go:

$(document).ready(function(){
    $(document).find('input[name^="checkBoxName"]').click(function() {
       var class_name = $(this).attr('class');
       $(document).find('input[name^="checkBoxName"]').not('.'+class_name).attr('disabled', $(this).is(':checked'));
    });
});

7

solved Select checkboxes on the basis of previously selected checkbox