Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

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

Etiquetas do documento e colaboradores

 Última atualização por: cvrebert,