javascript - toSource 在 Internet Explorer 中

标签 javascript internet-explorer

<分区>

Possible Duplicates:
Javascript toSource() method not working
Implementing Mozilla’s toSource() method in Internet Explorer.

是否有用于 Internet Explorer 的替代方法 toSource?

最佳答案

toSource 是非标准的,只能在 gecko 引擎中工作,因此在 chrome、safari IE 中不起作用。

参见 this所以问题和答案。

关于javascript - toSource 在 Internet Explorer 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3065401/

相关文章:

backbone.js - 访问父主干 View 的属性

javascript - Handlebars js不渲染数组

vb.net - 如何以编程方式将网站添加到 Internet Explorer 11 兼容性列表?

javascript - IE 11、10 和 9 中的图像缩放很糟糕

css - IE 中的 div 表格格式问题

html - IE(8,9 和 10)中的表格边框不显示

javascript - 如何使 ContentEditable 框的突出显示区域更大?

javascript - 蒙戈数据库;即使用户对象成功更新, postman 也会给出错误

javascript - 如何更改此 JS,使其根据浏览器的区域设置返回不同的字符串?

css - Shailan Dropdown 3rd 级别在 chrome 中工作但在 IE 中不工作