Navigator 2.0, Internet Explorer 3.0
window.window
The window property is identical to the self property; it contains a reference to the Window object specified by window. That is, window.window is identical to window itself. Because a reference to the current top-level window or frame is implicit in all JavaScript expressions, the window in the above expressions can be omitted and you can simply use window to refer to the current window.
The window property (and its synonym, self) provides a way to explicitly refer to the current window or frame when necessary, or when convenient for code clarity. To open a new window in an event handler, for example, it is necessary to use window.open(), because open() by itself would be confused with the Document.open() method.
file: /Techref/language/JAVA/SCRIPT/definitive/refp_464.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/11/19 23:37,
3.141.193.126:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/JAVA/SCRIPT/definitive/refp_464.htm"> [Chapter 21] Reference: Window.window</A> |
Did you find what you needed? |