MutationEvent.relatedNode (Property)

A Node object is referred to here which can be used to perform contextual examination of the event.


DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Node object
JavaScript syntax:NmyMutationEvent.relatedNode

For attribute changes, this should contain a reference to the node that owned the attribute that was changes. Other operations such as node addition or removal may contain parent nodes or indeed the node that has just been added during an insertion.

See also:Node object, Node.parentNode

Property attributes: