Gets the document to which this node belongs.

[VBScript]
Public ReadOnly Property OwnerDocument As Document
[JScript]
public function get OwnerDocument() : Document;

Property Value

The Document to which this node belongs.

If the node is a Document, this property returns null.

See Also

Node Object | Node Members | DOM Namespace