aspxtreme

onabort Event

DHTML Events


Fires when the user aborts the download of an image.

Syntax


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

Remarks


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.

Event Object Properties

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.

Applies To

APPLET, EMBED, IMG, OBJECT



Books and more ...

Contents
HTML Elements / DOM Objects
HTML Element Attributes
CSS Attributes
DOM Object Properties
DOM-compliant Events Reference
DOM Methods Reference
DOM Collections Reference
 


Suggested Reading



Previous page Back to top Next page

Check out related books at Amazon

© 2000-2008 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support aspxtreme