English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
blur()The method removes the focus from the current window.
The blur() method on the program is equivalent to the user moving the focus away from the current window.
Usagefocus()The method sets the focus to the current window.
window.blur()
var popupWindow = window.open("https://www.oldtoolbag.com"); popupWindow.blur();Test See‹/›
All browsers fully support the blur() method:
Method | |||||
blur() | Yes | Yes | Yes | Yes | Yes |
Return Value: | None |
---|
Window (Window) Reference:focus() Method