event.stopPropagation()//阻止冒泡
obj.attachEvent("on"+e,fun);//ie事件
attachEventListen(obj,"click",fun);
判断是否属于父类
function Person(){};
var p =new Person();
console.log(p instanceof Person);//true
event.stopPropagation()//阻止冒泡
obj.attachEvent("on"+e,fun);//ie事件
attachEventListen(obj,"click",fun);
判断是否属于父类
function Person(){};
var p =new Person();
console.log(p instanceof Person);//true