이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!
The HTMLElement.blur()
method removes keyboard focus from the current element.
Syntax
elt.blur()
Specification
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'blur' in that specification. |
Living Standard | |
HTML5.1 The definition of 'blur' in that specification. |
Working Draft | |
HTML5 The definition of 'blur' in that specification. |
Recommendation | |
Document Object Model (DOM) Level 2 HTML Specification The definition of 'blur' in that specification. |
Recommendation |
Browser compatibility
In IE9-10, there is a bug where calling blur()
on the <body>
will switch the active application window away from the browser to a different application entirely.
See also
- DOM method
HTMLElement.focus()