Mega Code Archive

 
Categories / JavaScript Tutorial / Event
 

Event ABORT

The ABORT property is used by images and refers to the event in which a transfer is interrupted or aborted by a user. <html>     <head>     <title>Example of Event.ABORT</title>     </head>     <body>     <script language = "JavaScript">     <!--     function handleAbort(evnt){         alert("An ABORT event has occurred.");         return true;     }     document.onabort = handleAbort;     -->     </script>     </body>     </html>