【问题标题】:Website breaks in IE9 but works when Developer Tools is opened网站在 IE9 中中断,但在打开开发人员工具时有效
【发布时间】:2014-02-25 10:17:13
【问题描述】:

这是我的网站,eTraining。它在 Chrome、Firefox 和 Internet Explorer 10 上运行良好。但在 IE 9 上,首页上的标签云不显示,但是当我打开开发人员工具 (F12) 并刷新页面时,它可以工作。这对我来说有点奇怪。

我不知道是什么导致了这个错误。我认为这是因为 Doctype 声明。

我已经在代码的顶部使用了这个。

<!DOCTYPE html>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

谁能帮帮我?

【问题讨论】:

    标签: internet-explorer internet-explorer-9 doctype ie-developer-tools


    【解决方案1】:

    您的代码中有任何 console.log() 吗? IE Does IE9 support console.log, and is it a real function?

    干杯

    【讨论】:

    猜你喜欢
    • 2018-10-02
    • 2015-11-02
    • 2014-02-08
    • 1970-01-01
    • 1970-01-01
    • 2013-01-26
    • 1970-01-01
    • 1970-01-01
    • 2018-11-15
    相关资源
    最近更新 更多