onabort event

[This documentation is preliminary and is subject to change.]

Fires when the user aborts the download.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 6.1.6.2

Syntax

HTML Attribute <element onabort = "handler(event)">
Event Property object.onabort = handler;
attachEvent Method object.attachEvent("onabort", handler)
addEventListener Method object.addEventListener("abort", handler, useCapture)

Standards information

Event information

Synchronous No
Bubbles No
Cancelable No

Event handler parameters

Remarks

Halts downloading of the designated image, but not due to an error.

To invoke this event, do one of the following:

  • Click an anchor while the document is loading.
  • Stop loading the document.
  • Navigate to another document.
  • Windows Internet Explorer 9. The client stops fetching media data, but not due to an error.

The pEvtObj parameter is required for the following interfaces:

 

 

Build date: 1/23/2012