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/13 19:24,
3.145.164.139: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://techref.massmind.org/Techref/language/java/script/definitive/refp_464.htm"> [Chapter 21] Reference: Window.window</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.