javascript event relatedTarget
| relatedTarget | NN 6 IE n/a DOM 2 |
|
|
Read-only |
|
Returns a reference to a rendered node in the document tree that was the previous or next target for events, depending on the event type. For a mouseover event type, the relatedTarget property refers to the node from which the cursor arrived; for a mouseout event, the relatedTarget property refers to the node to which the cursor departed. The corresponding IE functionality is in the fromElement and toElement properties of the IE event object. |
|
| Example | |
var beenThere = evt.relatedTarget; |
|
| Value | |
|
Reference to a node. |
|
| Default | |
|
None. |
|
Previous: javascript event repeat
780,Nickname,Homepage or email,Comments here,Add comment
