Mega Code Archive

 
Categories / JavaScript Tutorial / HTML Tags
 

Link onMouseDown

The onMouseDown event handles the event when the mouse button is pressed down while the mouse pointer is over the link. <html>     <head>     <title> Using the onMouseDown event handler of the Link object</title>     </head>     <body>     Click the mouse button while the cursor is on the link.     <form name="form1">     <a href=http://www.rntsoft.com     onMouseDown='alert("The mouse button was pressed DOWN.")'>     http://www.rntsoft.com</a>     <br><br>     </form>     </body>     </html>