Window.blur()
Shifts focus away from the window.
Syntax
window.blur()
Example
window.blur();
Notes
The window.blur() method is the programmatic equivalent of the user shifting focus away from the current window.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'Window.blur()' in that specification. |
Living Standard |
Browser compatibility
BCD tables only load in the browser