July 1998
Intermediate to advanced
1456 pages
65h 5m
English
reason — NN n/a IE 4 DOM n/a
Read-only
Returns a code associated with an
onDataSetComplete event signifying whether the
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.
if (event.reason == 2) {
alert("An error occurred during the most recent update.")
}One of three possible integer values:
0
Transfer was successful
1
Transfer aborted
2
An error halted the transfer
None.
Read now
Unlock full access