javascript document hasFocus( )

hasFocus( ) NN n/a IE 6 DOM n/a

 

 

Returns Boolean true if the document or any element in the document has focus. A background process, such as a function invoked through setTimeout( ) can find out if the document's window is currently the front window on the Desktop.

 
Parameters

None.

 
Returned Value

Boolean value: true | false.


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