HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The onmouseup attribute fires when a mouse button is released over the element."
The onmouseup attribute fires when a mouse button is released over the element.
The order of events related to the onmouseup event (for the right mouse button):
The onmouseup attribute is part of the Event Attributes, and can be used on any HTML elements.
Elements | Event |
---|---|
All HTML elements | onmouseup |
Execute a JavaScript when releasing a mouse button over a paragraph:
<p onmouseup="mouseUp()">Click the text!</p>
Event Attribute | |||||
---|---|---|---|---|---|
onmouseup | Yes | Yes | Yes | Yes | Yes |