relatedNode property

Gets a second node related to a mutation event.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.8Internet Explorer 9



HRESULT value = object.get_relatedNode(** p);

Property values

Type: Object

The related node.

Standards information


In a DOMAttrModified event, the related node is the attribute node that is being modified. In a DOMNodeInserted or DOMNodeRemoved event, the related node is the parent node of the event target.