'document on click , exclude elements
How do i exclude same element with different class on document click
Click function as follows
$(document).on('click', 'tr.player_row', function () {
});
I want to exclude the following same type elements that have another class tr.player_row.locked_starter tr.player_row.locked_bench
Tried multiple times with variations like this
$(document).on('click', 'tr.player_row , :not("tr.player_row.locked_bench") , :not("tr.player_row.locked_starter")', function () {
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
