Mega Code Archive

 
Categories / JavaScript DHTML / Event Onmethod
 

OnFocusIn Example

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