'onAbort' Example : onAbort « Event Handlers Reference « JavaScript Reference

'onAbort' Example

    
<head>
<script language="JavaScript">
   function function1() {
      alert("The loading action has been aborted\nTry later") 
   } 
</script>
</head>
<body>
<img src="http://www.java2s.com/style/logo.png" onabort="function1()">
</body>

    
      
      








Related examples in the same category

1.'onAbort' Syntax and Note
2.'onAbort' Properties
3.'onAbort' is applied to