1.事件绑定,删除,传播,默认方式,获取类型的兼容 var eventList = { //添加事件兼容 addEvent:function (event,type,backevent) { if (event.addEventListener) { event.addEventListener(type,backevent,false);//false为冒泡true为捕获 } else if(event.attachEvent){ event.attachEvent('on'+type,bac…