trigger click on each element of class code example
Example: trigger click on each element of class
$('.delete-rule').click(function(){
$('.delete-rule').each(function() {
//Do Stuff
});
});
$('.delete-rule').click(function(){
$('.delete-rule').each(function() {
//Do Stuff
});
});