Mega Code Archive

 
Categories / JavaScript DHTML / Event Onmethod
 

OnMouseDown Example

<html> <head> </head> <body>    <input type="button"            value="Click here"            onmousedown="alert('You just pressed down on a mouse button')">    click the mouse button to triger the onmousedown event </body> </html>