'onBeforeActivate' Example : onBeforeActivate « Event Handlers Reference « JavaScript Reference
- JavaScript Reference
- Event Handlers Reference
- onBeforeActivate
'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