onerrorupdate event | errorupdate event
Occurs on a databound object when it cannot update the data in the data source object.
If the contents of a databound object are modified and the databound object loses the active state, then the associated data in the data source object is updated. In that case, the onbeforeupdate event is fired before and the onafterupdate event is fired after the update process. If an error occurs while updating, the onerrorupdate event is fired instead of the onafterupdate event.
These events occur on the databound object. If you need an event that occurs on the data source object when its data has changed, use the oncellchange event.For further details about data source objects, see the page for the recordset object.
How to register:
|object.onerrorupdate = handler;|
|object.attachEvent ("onerrorupdate", handler);|
You can find the related objects in the Supported by objects section below.
The event object is accessible to all event handlers in all browsers. The properties of the event object contain additional information about the current event. To get further details about these properties and the possible event handler registration methods, please see the page for the event object.
Actions that invoke the onerrorupdate event:
- An error occuring during the update of a data source object.
The order of events related to the onerrorupdate event:
The onerrorupdate event always occurs after the onbeforeupdate event.
Example HTML code 1:
This example illustrates the use of the onerrorupdate event:
Did you find this example helpful?
User Contributed Comments