onabort event (Internet Explorer)

Switch View :
ScriptFree
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

SynchronousNo
BubblesNo
CancelableNo

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

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:

  • HTMLAnchorEvents2
  • HTMLAreaEvents2
  • HTMLButtonElementEvents2
  • HTMLControlElementEvents2
  • HTMLDocumentEvents2
  • HTMLElementEvents2
  • HTMLFormElementEvents2
  • HTMLImgEvents2
  • HTMLFrameSiteEvents2
  • HTMLInputFileElementEvents2
  • HTMLInputImageEvents2
  • HTMLInputTextElementEvents2
  • HTMLLabelEvents2
  • HTMLLinkElementEvents2
  • HTMLMapEvents2
  • HTMLMarqueeElementEvents2
  • HTMLObjectElementEvents2
  • HTMLOptionButtonElementEvents2
  • HTMLScriptEvents2
  • HTMLSelectElementEvents2
  • HTMLStyleElementEvents2
  • HTMLTableEvents2
  • HTMLTextContainerEvents2
  • HTMLWindowEvents2
  • HTMLDocumentEvents4
  • HTMLElementEvents4

 

 

Build date: 3/14/2012