EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

beforeupdate | onbeforeupdate event

Fires on a databound object before updating the associated data in the data source object.

Syntax

HTML Attribute <element onbeforeupdate = "handler(event)">
Event Property object.onbeforeupdate = handler;
attachEvent Method object.attachEvent("onbeforeupdate", handler)
addEventListener Method object.addEventListener("beforeupdate", handler, useCapture)

 

Event information

SynchronousNo
BubblesYes
CancelableYes

 

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

If the onbeforeupdate event is canceled, the onafterupdate event does not fire.

Signals that the data contained in an object has changed.

To invoke this event, do one of the following:

  • Cause an object to receive focus, change the value of the object, and either cause the object to lose focus or force the document to unload.

The pEvtObj parameter is required for the following interfaces:

See also

a
abbr
acronym
address
applet
area
b
base
baseFont
bdo
bgSound
big
blockQuote
body
br
button
caption
center
cite
code
col
colGroup
comment
custom
dd
del
dfn
dir
div
dl
dt
em
embed
fieldSet
font
form
frame
frameSet
head
hn
hr
html
i
iframe
img
input type=button
input type=checkbox
input type=email
input type=file
input type=hidden
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
link
listing
map
marquee
menu
nextID
noBR
noFrames
noScript
object
ol
option
p
plainText
pre
q
rt
ruby
s
samp
script
select
small
span
strike
strong
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
title
tr
tt
u
ul
var
wbr
xml
xmp
Introduction to Data Binding

 

 

Mostrar:
© 2014 Microsoft