Name

Window.blur( ): remove keyboard focus from a top-level window — JavaScript 1.1:

Synopsis

window.blur( )

Description

The blur( ) method removes keyboard focus from the top-level browser window specified by the Window object. It is unspecified which window gains keyboard focus as a result. In some browsers and/or platforms, this method may have no effect.

See Also

Window.focus( )

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.