HTML DOM ownerDocument Property
HTML DOM ownerDocument Property
The ownerDocument property is used to return the owner document of a node. It will return it as a Document object. By default, HTML document itself is ownerDocument of an element.
Syntax:-
Its syntax is:- node.ownerDocument
Return:-
Its return is:- owner document of the node as Document object