js 单击时间为:onclick
双击事件为:ondblclick
如下是一个演示,想必很清楚,复制代码运行一下就懂了:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<script>function ondblclick_f(){alert("这里是双击事件!");}function onclick_f(){alert("这里是单事件!");}</script><input ondblclick="ondblclick_f()" type="submit" value="双击事件"/>
<input onclick="onclick_f()" type="submit" value="单击事件"/>