reason property (event)
Sets or retrieves an integer value that indicates whether the data transfer was successful or not. Use this property with ondatasetcomplete events.
You can find the related objects in the Supported by objects section below.
This property is read/write.
Integer that specifies or retrieves the transfer state.
One of the following values:
|Transfer is successful.|
|Transfer has aborted.|
|Some error has occurred during data transfer.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the reason property:
Did you find this example helpful?
User Contributed Comments