onabort event
Fires when the user aborts the download.
HTML Attribute | <element onabort = "handler(event)"> |
Event Property | object.onabort = handler; |
attachEvent Method | object.attachEvent("onabort", handler) |
addEventListener Method | object.addEventListener("abort", handler, useCapture) |
Synchronous | No |
Bubbles | No |
Cancelable | Yes |
- pEvtObj [in]
Type: IHTMLEventObj
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 6.1.6.2
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