ie8不支持console.log()的解决方法
来源:互联网 发布:wps表格数据分析教程 编辑:程序博客网 时间:2024/06/14 15:59
1、在ie8(其他版本没测)下用console.log('abc') 在控制台调试会报错,如下图:
2.解决方法
window.console = window.console || (function () { var c ={}; c.log = c.warn = c.debug = c.info = c.error = c.time = c.dir = c.profile= c.clear = c.exception = c.trace = c.assert = function(){}; return c;})();
阅读全文
0 0
- ie8不支持console.log()的解决方法
- eWebEditor不支持IE8的解决方法
- IE8不支持js的解决方法
- eWebEditor不支持IE8的解决方法
- IE8不支持canvas的解决方法
- IE6 不支持console.log
- eWebEditor 不支持ie7、ie8的解决方法
- ie6-ie8不支持opacity透明度的解决方法
- IE9BUG!默认不支持console.log
- console.log影响IE样式的解决方法
- eWebEditor不支持IE,IE8,IE7,火狐,遨游的解决方法
- ie8 不支持new Date(2012-11-10)问题的解决方法
- console.log在IE8中未定义
- console.log的坑
- 万恶的console.log()
- JavaScript的console.log()
- console.log的使用
- console.log()的用处
- xshell上传文件到服务器和下载文件到本地
- 路径
- Dozer扫盲级教程
- 支持向量机SVM-SMO算法
- 细说Java主流日志工具库
- ie8不支持console.log()的解决方法
- 博客总目录
- Spring整合Ehcache管理缓存
- LeetCode(39)--Combination Sum
- 博弈论常用
- 十分钟理解Raft
- Java正则速成秘籍(一)之招式篇
- Chapter 6
- 矩阵基础(四)