Button.onMouseUp : Button : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » Button »

 

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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» Button