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 |
---|
HTML Standard # dom-window-blur |
Browser compatibility
BCD tables only load in the browser