August 1999
Intermediate to advanced
1488 pages
72h 53m
English
onMouseUp="command"The onMouseUp event handler is defined in an <input> tag and specifies what to do when the mouse button is released while over the button.
The code in Listing 7.32 uses the onMouseUp event handler to display an alert box any time 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>
|
Read now
Unlock full access