The onerror event occurs when the request could not be completed because of an error.
Overview Table Synchronous No Bubbles No Target dom/Element Cancelable No Default action## Examples
Setting the onerror property.
<script type="text/javascript">
function err()
{
alert("XDR onerror");
}
...
xdr.onerror = err;
Notes Remarks
The document can respond to the error, but there is no way to determine the cause or nature of the error. The onerror event does not occur when the ontimeout event occurs. To invoke this event, do one of the following:
This method has no parameters.
See also Related pagesXDomainRequest
Reference
Conceptual
XMLHttpRequest Enhancements in Internet Explorer 8
Microsoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4