Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers Reference
 

OnBlur Example

<head> <script language="JavaScript">    function function1() {        window.open("http://www.rntsoft.com", "", "");     }  </script> </head> <body>    Press the Tab key to set focus on the link below.<br>    <a id="myL" href="http://www.rntsoft.com/" target=_blank onBlur="function1()">    rntsoft.com    </a>    <a id="myL" href="http://www.rntsoft.com/" target=_blank onBlur="function1()">    rntsoft.com    </a><a id="myL" href="http://www.rntsoft.com/" target=_blank onBlur="function1()">    rntsoft.com    </a>       <br>    Now press the Tab key again to move focus to another element </body>