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

'onDeactivate' Example

    
<HTML>
<head>
</head>
<body>
<p class="explanations">Press tab to bring the following link in and out of focus.</p>
<a tabindex="3" 
   id="myL" 
   href="http://www.java2s.com/" 
   target=_blank ondeactivate="alert('The link has been deactivated')">
   www.java2s.com
</a>
</body>
</HTML>

    
      
      








Related examples in the same category

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