HTML event onmouseup
Event Attribute onMouseUp
- The user releases their mouse or pointing device button whilst hovering above the element.
In this example, the user will receive a messagebox saying "You released your mouse button whilst hovering over this text", after releasing the mouse/pointing device button anywhere over the text "Hover over me and click"
<a onmouseup="alert('You released your mouse button whilst hovering over this text')">Hover over me and click</a>
As this event requires the user to move the mouse/pointing device and use it's buttons, users with impaired motor skills or no mouse may find this difficult or impossible.