Export (0) Print
Expand All

onerror event

ProgressEvent that fires when an error occurs during a read operation by an MSStreamReader or FileReader object.

Internet Explorer 10

 

Syntax

Event Property object.onerror = handler;
addEventListener Method object.addEventListener("error", handler, useCapture)

 

Event handler parameters

handler [in]

Type: function

Remarks

When an error occurs, the read operation is stopped, the onerror event fires and the error property on MSStreamReader or FileReader object is set. The onloadend event then fires.

Displays the error message when a problem occurs and executes any error handling routine associated with the event.

See also

FileReader
msStreamReader
ProgressEvent

 

 

Show:
© 2015 Microsoft