A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/xhr/events/error below:

error ยท WebPlatform Docs

error Summary

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:

Event handler parameters

This method has no parameters.

See also Related pages Attributions

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