DHTML Events
Fires when the user aborts the download of an image.
Inline HTML |
<element onabort = "handler" ... > |
All platforms |
Event property |
object.onabort = handler |
ECMA-262 Language Specification |
Named script |
<script FOR=object EVENT=onabort> |
Internet Explorer® only |
Bubbles |
No |
Cancels |
Yes |
To invoke |
- Click an anchor.
- Press the browser Stop button.
- Navigate to another page.
|
Default action |
Halts downloading of the designated image. |
An abort event occurs when page loading is stopped before an image has been allowed to completely load. This event applies to OBJECT elements.
While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.
Event Object Properties
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. |
APPLET, EMBED, IMG, OBJECT