Navigator 2.0, Internet Explorer 3.0
window.self
The self property contains a reference to the Window object specified by window, i.e., window.self is identical to window. 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 self to refer to the current window.
The self property provides a way to explicitly refer to the current window or frame when necessary (for example, when passing a the current window to a function). The self property is also sometimes useful for code clarity. Using self.name to refer to the name of the current window or frame is less ambiguous than simply using name, for example.
The window property is a synonym for the self property.
file: /Techref/language/JAVA/SCRIPT/definitive/refp_459.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/11/27 03:30,
18.188.76.209: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://sxlist.com/techref/language/JAVA/SCRIPT/definitive/refp_459.htm"> [Chapter 21] Reference: Window.self</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.