Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

onabort event

Fires when the user aborts the download.

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


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


Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information


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:



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.