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






'onBeforeActivate' Example

    
<html>
<body>
<p>Press tab to bring the following link into focus.</p>
<a href="http://www.java2s.com/" 
   target=_blank 
   onbeforeactivate="alert('activated')">
   java2s.com
</a>
</body>
</html>

    
      
      








Related examples in the same category