JavaScript Tutorial/Document/onmouseup — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 08:24, 26 мая 2010
document.onmouseup
The onMouseUp event handler specifies what should happen when the mouse button is pressed and then released within the Document object.
<html>
<head>
<script language="JavaScript1.2">
<!--
document.onmouseup = myMouseUpHandler;
function myMouseUpHandler(){
alert("A mouse up event took place within the document!");
}
-->
</script>
</head>
<body>
press the mouse button and then release it
</body>
</html>