Share via


onabort event

Fires when the user aborts the download.

 

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)

 

Event information

Synchronous No
Bubbles No
Cancelable Yes

 

Event handler parameters

Standards information

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: