'hasFocus()' Syntax, Parameters and Note : hasFocus « Javascript Methods « JavaScript Reference

'hasFocus()' Syntax, Parameters and Note

Note:

Does the document have focus. 
Returns true or false.
    
Syntax:
    
document.hasFocus()

    

      
      








Related examples in the same category

1.'hasFocus()' Example
2.'hasFocus()' is applied to