Mega Code Archive

 
Categories / JavaScript Reference / Event Handlers Reference
 

OnFocusIn Example

<html> <head> <script language="JavaScript">     function function1() {         alert("<a> element will receive focus upon accepting this message")      } </script> </head> <body>     <a id="myL"         href="http://www.rntsoft.com/"         target=_blank         onfocusin="function1()">     www.rntsoft.com     </a> </body> </html>