javascript window self

self NN 2 IE 3 DOM n/a  
Read-only  

This is a reference to the current window or frame. This property is synonymous with window, but is sometimes used to improve clarity in a complex script that refers to many windows or frames. Never use the reference window.self to refer to the current window or frame because some browser versions get confused with the reference.

 
Example
 
self.focus( );
 
Value

window object reference.

 
Default

Current window.


2222,Nickname,Homepage or email,Comments here,Add comment