Contents

ontimeout

A callback function that is called when a request times out.

Declaration

attribute function ontimeout;

Discussion

This attribute must be set to a function; for example, XMLHttpRequest.ontimeout = function () {}.

See Also

Implementing Callback Functions