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

[ad_1]

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

[ad_2]

solved Select checkboxes on the basis of previously selected checkbox