I am invoking one popup window on clicking of table row.
So my code is like this...
$('.assignPanel tbody tr').on('click', function() { // code for invoking the popup window });
The problem is here. I dont want to invoke the same popup window while clicking on other set of 'tbody tr' where I am having class name called 'noRequiredPopup'. How can i handle this situation? Help please.
Try this : use .not()
to filter out the tr
with class="noRequiredPopup"
$('.assignPanel tbody tr').not('.noRequiredPopup').on('click', function() { // code for invoking the popup window });