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






'onFocusOut' Example

    
<html>
<head>
<script language="JavaScript">
    function function2() {
        alert("<a> element lost focus") 
    } 
</script>
</head>
<body>
    <a id="myL" href="http://www.java2s.com/" target=_blank 
       onfocusout="function2()">java2s.com
    </a>
</body>
</html>

    
      
      








Related examples in the same category