HTML DOM ownerDocument property
Definition and Usage
ownerDocument to return to the root element of an element.
In HTML, HTML document itself is the root element.
More more see our document object Document Object Reference Manual .
Browser Support
All major browsers support ownerDocument property
grammar
node .ownerDocument
technical details
return value: | All document node, such as a document object. |
---|---|
DOM version | Core Level 2 Node Object |