Fires when the user aborts the download of an image.
Syntax
Inline HTML <ELEMENT onabort = "handler" ... > All platforms Event property object.onabort = handler JScript (compatible with ECMA 262 language specification) only Named script <SCRIPT FOR = object EVENT = onabort> Internet Explorer only
Remarks
Bubbles No Cancels Yes To invoke
- Click an anchor.
- Click the browser Stop button.
- Navigate to another page.
Default action Halts downloading of the designated image.
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, the handler can query the event object for data.
returnValue Sets or retrieves the return value from the event. srcElement Retrieves the object that fired the event. type Retrieves the event name from the event object.
Applies To