Answers for "onmousedown"

23

javascript mouse up mouse down

<p id="myP" onmousedown="mouseDown()" onmouseup="mouseUp()">

<script>
function mouseDown() {
}

function mouseUp() {
}
</script>
Posted by: Guest on July-10-2020
1

onmousedown

mousedown event fires when the user depresses the mouse button.
Posted by: Guest on June-30-2021

Browse Popular Code Answers by Language