asp.net.ph

onbeforeupdate Event

DHTML Events


Fires before the transfer of data from the object to the data provider.

Syntax


Inline HTML <element onbeforeupdate = "handler" ... > All platforms
Event property object.onbeforeupdate = handler ECMA-262 Language Specification
Named script <script FOR=object EVENT=onbeforeupdate> Internet Explorer® only

Remarks


Bubbles Yes
Cancels Yes
To invoke Cause an object to lose, focus or force the page to unload, after the value of that object has changed from the value it contained upon receiving focus.
Default action Signals that the data contained in an object has changed.

Because this event can be canceled, the programmer can 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.

Event Object Properties

While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties


Applies To

BDO, HTMLAREA, INPUT type=text, RB, RT, RUBY, TEXTAREA

See Also

onafterupdate




Contents
HTML Elements
HTML Element Attributes
CSS Attributes
DOM Objects
DOM Object Properties
DOM Events Reference
DOM Methods Reference
DOM Collections Reference
 

Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph