Description: The other DOM element involved in the event, if any.
event.relatedTarget
version added: 1.1.4
For mouseout, indicates the element being entered; for mousein, indicates the element being exited.
Example
On mouseout of anchors, alert the element type being entered.
$("a").mouseout(function(event) {
alert(event.relatedTarget.nodeName); // "DIV"
});
Was this information helpful?

