Element: mouseup event

The mouseup event is fired at an Element when a button on a pointing device (such as a mouse or trackpad) is released while the pointer is located inside it.

mouseup events are the counterpoint to mousedown events.

Bubbles Yes
Cancelable Yes
Interface MouseEvent
Event handler property onmouseup

Examples

See mousemove_event for example code.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
mouseup_event
2
12
6
9
11.6
4
≤37
18
6
12.1
3.2
1.0

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Element/mouseup_event