onmouseup 이벤트는 마우스 버튼을 놓을 때 트리거됩니다.
예시
다음 코드를 실행하여 onmouseup 작업 방법을 배울 수 있습니다. 자바스크립트의 이벤트 -
<html>
<head>
<script>
<!--
function sayHello() {
alert("Mouse Up")
}
//-->
</script>
</head>
<body>
<p onmouseup = "sayHello()">This is demo text for mouseup event.</p>
</body>
</html>