blur method

This topic has not yet been rated - Rate this topic

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
div
dl
dt
em
embed
fieldSet
figcaption
figure
footer
form
header
hgroup
hn
hr
i
iframe
img
input type=button
input type=checkbox
input type=file
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
ins
kbd
label
legend
li
mark
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

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.