hi, I was playing around a it and was trying to simply catch every click- event with something like this
$(document).click(function(event) { }); but what i just don't understand is how i can now access the element that was orginally receiving the click. $(this).empty() empties the whole document, which makes sense and I found out that I can e.g. get the text I clicked on with event.explicitOriginalTarget.nodeValue. But that's unfortunately all... Can someone tell what would be the working "version" of $(event.explicitOriginalTarget).empty(); (It's just to make clear what I'm trying...)