I have a global function to capture clicks.
$(document).click(function(e){ //do something if(clickedOnLink) //do something });
I want t
With jquery just get the tagName attribute $("a").prop("tagName");