JavaScript DHTML/Event onMethod/onMouseDown

Материал из Web эксперт
Перейти к: навигация, поиск

"onMouseDown" Example

   <source lang="html4strict">
   

<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>


     </source>