'onBeforeDeactivate' Example
<html>
<body>
<p>Press tab to bring the following link into focus.</p>
<a id="myL"
href="http://www.java2s.com/"
target=_blank
onbeforedeactivate="alert('focus')">
java2s.com
</a>
<html>
Related examples in the same category