jQuery exclude elements with certain class in selector
- by Alex Crooks
I want to setup a click event trigger in jQuery for certain anchor tags.
I want to open certain links in a new tab while ignoring ones with a certain class (before you ask I cannot put classes on the links I am trying to catch as they come from a CMS).
I want to exclude links with class "button" OR "generic_link"
I have tried
$(".content_box…