Description: The other DOM element involved in the event, if any.
For mouseout
, indicates the element being entered; for mousein
, indicates the element being exited.
$("a").mouseout(function(event) {
alert(event.relatedTarget.nodeName); // "DIV"
});