TOC PREV NEXT INDEX

domref



window.onfocus


An event handler for focus events sent to the window.

Syntax

window.onfocus = funcRef
 

Parameters

funcRef is a reference to a function.

Example

window.onfocus = startTimer;
 

Notes

The focus event is raised when the user sets focus on the current window.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX