JavaScript Reference/Event Handlers Reference/onMouseDown
Содержание
"onMouseDown" Example
<source lang="javascript">
<html> <head> </head> <body>
<input type="button" value="Click here" onmousedown="alert("You just pressed down on a mouse button")"> Click your mouse on button.
</body> </html>
</source>
"onMouseDown" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <applet> | | |<area> | | | |
| |<body> || |<button>
| | | | | |
| |<custom> | | |
| | | <dir> ||
| |document
- | | | <embed> | | |<fieldset> | | |<form> <hn> | | |
|| |<img> <input type="button"> | | |<input type="checkbox"> <input type="file"> | | |<input type="image"> <input type="password"> | | |<inputtype="radio"> <input type="reset"> | | |<input type="submit"> <input type="text"> | | | | | |<label> <legend> |
| |- <listing> | | |<map> <marquee> | | |<menu> <object> | | |
<optgroup> | | |<option>
| | |
| | |