摘要:
<script type="text/javascript">function getEvent(event){ alert("事件类型"+event.type); } document.write("单击......"); document.onmousedown=getEvent;</script><!--事件的绑定有两种方法:一种直接在元素里面写;一种在js里面写;--><input type="text" onclick="bangding(this)&q 阅读全文