I\'ve got an html anchor element:
Link Text
...and I want to get the contents of the title so
Even you can try this, if you want to capture every click on the document and get attribute value:
$(document).click(function(event){ var value = $(event.target).attr('id'); alert(value); });