javascript event reason
@March 15, 2008, 1:22 a.m.
reason | Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a |
Read/Write | |
Returns a code associated with an ondatasetcomplete event signifying whether the IE data binding data transfer was successful or, if incomplete, whether the transfer stopped due to an error or a stoppage by the client or user. This property must be examined in an event handler for the ondatasetcomplete event. In IE 4, the property is read-only. Although IE 5/Mac includes this property of the event object, it does not implement the associated event. |
|
Example | |
if (evt.reason == 2) { alert("An error occurred during the most recent update."); } |
|
Value | |
One of three possible integer values: |
|
|
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/event-reason.aspx
Powered by Linode.