mouseup
Summary
Fires when the user releases a mouse button while the mouse is over the object.
Overview Table
| Synchronous | No |
|---|---|
| Bubbles | Yes |
| Target | dom/Element |
| Cancelable | Yes |
| Default action | Invoke a context menu (in combination with the right mouse button, if supported) |
Remarks
Use the button property to determine which mouse button is pressed. Initiates any action associated with this event. To invoke this event, do one of the following:
- Press and release a mouse button.
Syntax
Standards information
- HTML 4.01 Specification, Section 18.2.3
Event handler parameters
- pEvtObj [in]
- Type: ****IHTMLEventObj****
Attributions
Mozilla Developer Network
: [mouseup event Article]Microsoft Developer Network: [mouseup event Article]
Portions of this content come from HTML5Rocks! [mouseup event samples article]