Vie (0) Tulosta
Laajenna kaikki
EN
Tätä sisältöä ei ole saatavilla kielelläsi. Tässä on englanninkielinen versio.

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.

In Microsoft Internet Explorer 5 and greater, elements that expose the blur method must have the TABINDEX attribute set.

See also

a
abbr
acronym
address
applet
area
article
aside
b
bdo
big
blockQuote
body
button
caption
center
cite
custom
dd
del
dfn
dir
div
dl
dt
em
embed
fieldSet
figcaption
figure
font
footer
form
frame
frameSet
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
isIndex
kbd
label
legend
li
listing
mark
marquee
menu
nav
object
ol
p
plainText
pre
q
rt
ruby
s
samp
section
select
small
span
strike
strong
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
tr
tt
u
ul
var
window
xmp
focus

 

 

Näytä:
© 2014 Microsoft