//事件对象
//IE系统不会把事件对象传给e,而是传给 window.event
div.onclick=function(e){
var event=e||window.event;
console.log(event);
}
事件对象
最新推荐文章于 2020-03-26 17:10:40 发布
//事件对象
//IE系统不会把事件对象传给e,而是传给 window.event
div.onclick=function(e){
var event=e||window.event;
console.log(event);
}