asp.net.ph

Skip Navigation Links

onabort Event


Fires when the user aborts the download of an image.

Syntax

Inline <element onabort = "handler" ... >
Script object.onabort = handler

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

Applies To

APPLET, EMBED, IMG, OBJECT


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

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