- 时间转换:firefox时间转换返回Nan问题解决方法strTime = strTime.replace("-", "/").replace("-", "/"); //用于兼容火狐
- bind参数:firefox只支持一个参数
- 阻止事件传递:firefox不支持event.stopPropagation(),必须传event参数function(e){e.stopPropagation();}
- innerText属性:firefoxV43及以前版本不支持innerText属性,V45支持,替换为innerHTML
JAVASCRIPT浏览器兼容问题
最新推荐文章于 2024-04-21 22:42:05 发布