Return the ownerDocument of an element:
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|
Your message has been sent to W3Schools.