'onBeforeDeactivate' Example : onBeforeDeactivate « Event Handlers Reference « JavaScript Reference
- JavaScript Reference
- Event Handlers Reference
- onBeforeDeactivate
'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('losing focus')">
java2s.com
</a>
<html>
Related examples in the same category