EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

blur method

Causes the element to lose focus and fires the onblur event.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

Syntax

object.blur()

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

Remarks

This method shifts focus away from the element it is applied to but does not set focus on the next element in the tab order.

See also

a
abbr
address
area
article
aside
b
bdo
blockQuote
body
button
caption
cite
custom
dd
del
dfn
div
dl
dt
em
embed
fieldSet
figcaption
figure
footer
form
frame
header
hgroup
hn
hr
i
iframe
img
input type=button
input type=checkbox
input type=email
input type=file
input type=image
input type=number
input type=password
input type=radio
input type=range
input type=reset
input type=search
input type=submit
input type=tel
input type=text
input type=url
ins
kbd
label
legend
li
mark
menu
nav
object
ol
p
pre
q
rt
ruby
s
samp
section
select
small
span
strong
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
tr
u
ul
var
window
focus

 

 

Afficher:
© 2014 Microsoft