DOM

Window.document プロパティ

 編集:2022.09.10 by T.A.

[Edge]。→

Window に含まれている文書への参照を返します。

構文
Window.document
Window Window

Document?。

W.window.open("../Com/Test.htm"); //新しいウインドウを開き、Test.htm を表示させる。
D=W.document;	//その文書オブジェクトを得る。
	//=[object]:[object HTMLDocument]
	//location=[object]:null
	//implementation=[object]:[object DOMImplementation]
	//URL=[string]:about:blank
	//documentURI=[string]:about:blank
	//compatMode=[string]:BackCompat
	//characterSet=[string]:UTF-8
	//…

テスト