How can I get the ID of any element clicked within the $(document) in jQuery/js?
<pre><code>$(document).click(function(e){
     alert(e.target); 
});
</code></pre>

<p>That alerts [Object HTMLDivElement], is there another variable with the ID of the object?</p>
