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/timeout below:

timeout ยท WebPlatform Docs

timeout Summary

The ontimeout event occurs if the ontimeout period elapses before the onload event occurs.

Overview Table Synchronous No Bubbles No Target dom/Element Cancelable No Default action

## Examples

Setting the ontimeout property.

<script type="text/javascript">
function timeo()
{
    alert("XDR ontimeout");
}
...
xdr.ontimeout = timeo;
Notes Remarks

The ontimeout event occurs if the ontimeout period elapses before the onload event occurs. When the ontimeout event occurs, the responseText property is unavailable and attempts to access it will raise an error. 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