摘要: //跨浏览器添加事件 function addEvent(obj, type, fn) { if (obj.addEventListener) { obj.addEventListener(type, fn, false); } else if (obj.attachEvent) { obj.attachEvent('on' + type, fun... 阅读全文
posted @ 2015-10-13 11:16 laugh 阅读(333) 评论(0) 推荐(0) 编辑