HTML DOM ownerDocument 屬性
 元素對象
 元素對象
實例
	返回元素的根元素:
	document.getElementById("demo").ownerDocument;
 
定義和用法
ownerDocument 可返回某元素的根元素。
HTML中, HTML 文檔本身是元素的根元素。
越多更多的文檔對象請參考我們的 文檔對象參考手冊。
流覽器支持





 所有主要流覽器都支持 ownerDocument 屬性
語法
技術細節
| 返回值: | 節點的所有文檔,如文檔對象。 | 
| DOM 版本 | Core Level 2 Node Object | 
 元素對象
 元素對象