'onDeactivate' Example : onDeactivate « Event onMethod « JavaScript DHTML






'onDeactivate' Example

    
<HTML>
<head>
</head>
<body>
<p>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