onmousedown, onmouseup attribute

Type:action
Inherited:no
Used By:input

The onmouseup and onmousedown attributes can be set to cause an action to run when the mouse button is pressed or released on a form element. They can be set for any form element except for digital signatures.