onbeforeupdateonbeforeupdate*
*Contents  *Index  *Topic Contents
*Previous Topic: onbeforeunload
*Next Topic: onblur

onbeforeupdate

Description

Fires before the transfer of data from the element to the data provider. Fires when an element loses focus or the page is attempting to unload when the value of the element has changed from the value that was in the element at the time it received the focus.

Remarks

This event can be canceled. This allows the programmer to fail the validation and leave the content of the field as well as the cursor intact. All subsequent events are not fired when this event is canceled. This event will bubble. Events that bubble can be handled on any parent element of the object that fired the event.

Applies To

APPLET, BODY, BUTTON, CAPTION, DIV, EMBED, HR, IMG, INPUT, MAP, OBJECT, SELECT, TABLE, TD, TEXTAREA, TR

See Also

onafterupdate


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.