Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
HEADER [cont'd]
MOUSE EVENTS [cont'd]
onmouseup in MOUSE EVENTS of HTML 4
2549 Views
Usage 
The onmouseup event will get trigggered when user releases mouse out of the element.
Example
<html>
<body>

<p id="point" onmousedown="mouseDown()" onmouseup="mouseUp()">
Welcome
</p>

<script>
function mouseDown() {
    document.getElementById("point").style.color = "orange";
}

function mouseUp() {
    document.getElementById("point").style.color = "Violet";
}
</script>

</body>
</html>
Next Topics
Next lessons of current book.
MOUSE EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
Previous Topics
Previous lessons of current book.
MOUSE EVENTS of HTML 4
MOUSE EVENTS of HTML 4
MOUSE EVENTS of HTML 4
MOUSE EVENTS of HTML 4
MOUSE EVENTS of HTML 4
Best Lessons of "HTML 4"
Top lessons which are viewed more times.
TEXT FONT STYLE of HTML 4
KEYBOARD EVENTS of HTML 4
FORM EVENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
FORM EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
COMPONENTS of HTML 4
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details