> Is there a way to get the element and its child nodes from a mouseover/ > mousemove event (or simply put, using only mouse movements)? > What I am trying to do is something like this.. > I am adding a mousemove handler on the document.body and want to check > whether the element under the current cursor position is of certain > type(img, div, textarea etc.) and want to implement some code > accordingly. Is there a way around this without adding a mousemove > event handler to all these elements? > Any help is appreciated.
$(document).movemove(function(event) { var tag = event.target.tagName; // ... });