HTML onmouseup Attribute
Example
<p onmouseup="myFunction()">Click me!</p>
Meaning
The onmouseup attribute specifies the script run when a mouse button is released over an element.
Standard Syntax
<element onmouseup="script">
Browser Support
Status
Applies to:
The onmouseup attribute can be used on the following element:
Element | Attribute | |
---|---|---|
All HTML elements. | onmouseup |
Attribute Values
Value | Description |
---|---|
script | Specifies the script to be run on onmouseup. |