Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Event Handlers
onError
onload
EVENT HANDLER: onAbort
onAbort
= myJavaScriptCode
Event handler for
Image
The
onAbort
event handler executes the specified JavaScript code or function on the occurance of an abort event. This is when a user cancels the loading of an image by either clicking stop in the browser or clicking another link before the image has loaded.
The
onAbort
event handler uses the following
Event
object properties.
type
- this property indicates the type of event.
target
- this property indicates the object to which the event was originally sent.
The following example shows the use of the
onAbort
event handler to alert the user that the 'myPic' image was not loaded.
Code:
<IMG NAME = "myPic" SRC = "images/myPic.gif" onAbort = "alert('Loading of image aborted!')">
Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information