JavaScript: The Definitive Guide

25.299. Window.focus( ): give keyboard focus to a window

JavaScript 1.1:

25.299.1. Synopsis

window.focus( )

25.299.2. Description

The focus( ) method gives keyboard focus to the browser window specified by the Window object.

On most platforms, a top-level window is brought forward to the top of the window stack so that it becomes visible when it is given focus.

25.299.3. See Also

Window.blur( )

Категории