Window: blur() method

Shifts focus away from the window.

Syntax

blur()

Parameters

None.

Return value

None (undefined).

Examples

window.blur();

Notes

The window.blur() method is the programmatic equivalent of the user shifting focus away from the current window.

Specifications

Specification
HTML Standard
# dom-window-blur

Browser compatibility

BCD tables only load in the browser