摘要: Firefox浏览器兼容Javascript脚本的方法 ( 2009/3/18 13:14 )本文关键字:遇到了FireFox和IE脚本不兼容的问题 1.window.event兼容脚本 function getEvent(){ //获取浏览器事件,同时兼容ie和ff的写法 if(document.all) return window.event; func=getEvent.caller; while(func!=null){ var arg0=func.arguments[0]; if(arg0){ if((arg0.constructor==Event arg0.constructor. 阅读全文
posted @ 2009-04-01 08:30 dzqabc 阅读(249) 评论(0) 推荐(0) 编辑