TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX