relatedNode property
Gets a second node related to a mutation event.
Syntax
HRESULT value = object.get_relatedNode(** p);
Property values
Type: Object
The related node.
Standards information
- Document Object Model (DOM) Level 3 Events Specification, Section 5.2.8
Remarks
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.