HTML DOM ownerDocument Property
Return the ownerDocument of an element:
Try it yourself »
Definition and Usage
The ownerDocument property returns the owner document of a node, as a Document object.
In HTML, the HTML document itself is always the ownerDocument of an element.
Read more about the Document object in our Document object reference.
The ownerDocument property is supported in all major browsers.
|Return Value:||The owner document of the node, as a Document object|
|DOM Version||Core Level 2 Node Object|
Thank You For Helping Us!
Your message has been sent to W3Schools.