ie 6/7/8/9 报console未定义解决方法
js脚本里定义一个适应性强的console对象即可解决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;
})();
页:
[1]