Mega Code Archive

 
Categories / JavaScript Tutorial / Form
 

Button onMouseUp

Syntax onMouseUp="command" The onMouseUp event handler is defined in an tag and specifies what to do when the mouse button is released while over the button. <html>     <form name="myForm">       <input type="button"              value="Big Button"              name="myButton"              onMouseUp="alert('MouseUp event occured')">     </form>     </html>