javascript event relatedNode
| relatedNode | NN 6 IE n/a DOM 2 | |||||||
| Read-only | ||||||||
|
Returns a reference to a node that is affected by the action that triggers some W3C DOM mutation events. This provides a more direct route to a node that is impacted by the event, according to the following table. |
||||||||
For other mutation event types, the property returns null; for other event classes, the property returns undefined. |
||||||||
|
||||||||
| Example | ||||||||
var newParent = evt.relatedNode; |
||||||||
| Value | ||||||||
Reference to a node, null, or undefined. |
||||||||
| Default | ||||||||
None. |
||||||||
Previous: javascript event relatedTarget
779,Nickname,Homepage or email,Comments here,Add comment
