Click the text!
[Try it Β»](#) * * * ## Definition and Usage The onmouseup event occurs when a mouse button is released over an element. **Tip:** The event order related to the onmouseup event (left/middle mouse button): 1. onmousedown 2. onmouseup 3. onclick The event order related to the onmouseup event (right mouse button): 1. onmousedown 2. onmouseup 3. oncontextmenu ## Syntax In HTML: In JavaScript: _object_.onmouseup=function(){_SomeJavaScriptCode_}; | Parameter | Description | | :--- | :--- | | _SomeJavaScriptCode_ | Required. The JavaScript code to be executed when the event occurs. | * * * ## Browser Support  The onmouseup event is supported by all major browsers. * * * ## HTML Tags That Support This Event: The onmouseup attribute can be used with all HTML elements, except: , ,, , , , , , , , and
YouTip