jQuery: Clicking anywhere but on a particular A tag
I have a question in jQuery.
I have a webpage with lots of links, buttons, text etc. The page also has an <A class="mylink" HREF="#">Click here</a> tag.
What exactly I want is, if I click anywhere on the page, button, text or any other <A></A> tag on that page except the A tag that has the class="mylink", an alert() should popup.
I tried the following but I still see the alert when I click on the <A class="mylink" HREF="#">Click here</a> tag.
Any neat solution for this?
Thanks in advance.