javascript event reason
| reason | NN n/a IE 4 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. |
|
Previous: javascript event recordset
777,Nickname,Homepage or email,Comments here,Add comment
