从PDF转换
转换为PDF
从PDF处理
从CAD转换
转换为CAD
从图片转换
转换为图片
文件压缩
电子书转换
使用技巧
客户端下载
Ask Time:2012-07-07T02:39:29 Author:Oxed Frederik
<div id="myDiv" onclick="MyFunc()"></div>
document.getElementById("myDiv").onclick = MyFunc;
document.getElementById("myDiv").addEventListener("click", MyFunc, false)
Now, what is the difference between these 3 ways of attaching an event to a DOM element (ignoring the fact that 3 won't work on IE)?