Contents

onabort

A callback function called when a request is cancelled by the user.

Declaration

attribute function onabort;

Discussion

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

See Also

Implementing Callback Functions