Mega Code Archive

 
Categories / JavaScript Tutorial / HTML Tags
 

Link onKeyDown

The onKeyDown event handler handles the event when a key is pressed down while the focus is on the link. <html>     <head>     <title> Using the onKeyDown event handler of the Link object</title>     </head>     <body>     Click the link.     <form name="form1">     <a href="http://www.rntsoft.com" onKeyDown='alert("You pressed the key DOWN on the link")'>www.rntsoft.com</a>     <br><br>     </form>     </body>     </html>