how to find an anchor tag is clicked on current document in jQuery
- by Amit
Hi,
I want to attach a click event at the document level with
$(document).click();
And on clicking the element i would like to find out whether it is an anchor tag. If it is an anchor tag, then i will call a method to do something. How can that be done? Any idea?