> $(document).click(function(e){ > var target = $(e.target); > > }) > > How do I find out what HTML object (A, SPAN, DIV...) the target var > is?
var tag = e.target.tagName; :-)
> $(document).click(function(e){ > var target = $(e.target); > > }) > > How do I find out what HTML object (A, SPAN, DIV...) the target var > is?
var tag = e.target.tagName; :-)