HTML 解析错误 KB927917 IE8

发布于 2024-10-06 06:02:37 字数 154 浏览 0 评论 0原文

我在 IE 8 中收到此错误。

但并非在所有 IE 8 中。

在某些系统中网页工作正常,有些则不然。

是不是因为某些设置的原因。

启用或禁用某些脚本会产生神奇效果吗?

如果有人经历过这个错误并解决了:)请提出建议。

I am getting this error in IE 8 .

But not in all IE 8.

In some system web page is working fine , some are not.

Is it because of some settings.

Enabling or disabling some script will do the magic?

If anyone have gone through this error and solved :) please suggest.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

街道布景 2024-10-13 06:02:37

你必须检查 dom 是否已加载:

$(function(){ 
   ...
});

我也遇到了同样的错误,我无法在所有 IE8 上重现它。但这解决了它!

You have to check if the dom is loaded:

$(function(){ 
   ...
});

I got the same error as well, I couldn't reproduce it on all IE8. But this solved it!

比忠 2024-10-13 06:02:37

请参阅此帖子

这是 IE8 中的一个已知问题,Microsoft 网站帖子建议安装累积安全修复包版本 KB2360131 来解决此问题。

我在两台笔记本电脑上成功重现了此问题,并在安装此修复包后解决了该问题。我还尝试卸载此修复包,但问题再次出现。

Please refer to this thread.

This is a known issue in I.E.8 and Microsoft site posts suggests installation of Cumulative Security fix pack version KB2360131 to resolve this issue.

I successfully reproduced this issue on two laptops and was able to resolve it after installing this fix pack. I also tried to uninstall this fix pack and issue reoccurred.

岛歌少女 2024-10-13 06:02:37

您的用户可能以 IE7 兼容模式运行 IE8,如果这破坏了代码,您需要检测 document.documentMode 并为 IE7 分支修复。

要找到问题代码,请自行在兼容模式下运行并使用 IE8 调试器。

Your users may be running IE8 as IE7 compatibility mode, if that breaks the code you need to detect document.documentMode and branch a fix for IE7.

To find the problem code, run it in compatibility mode yourself and use the IE8 debugger.

时光匆匆的小流年 2024-10-13 06:02:37

该错误可能很简单,就像 HTML 代码中缺少结束标记一样。

示例代码:

<li>
    <a rel="fancy" href="some-highres-image" title="some-title">
        <img src="some-lowres-image" alt="some-name" width="75" height="75" />
        <span class="zoom">Zoom displayed onmouseover</a> <!-- This should be </span> -->
    </a>
</li>

rel="fancy" 在 dom 准备好后调用 fancybox。
缺少结束 span 标签会在 IE8 (8.0.6001.18702) 中触发 KB927917 错误

The error can be as simple as a missing closing tag in HTML code.

Sample code :

<li>
    <a rel="fancy" href="some-highres-image" title="some-title">
        <img src="some-lowres-image" alt="some-name" width="75" height="75" />
        <span class="zoom">Zoom displayed onmouseover</a> <!-- This should be </span> -->
    </a>
</li>

where rel="fancy" calls fancybox after dom ready.
The missing closing span tag triggers the KB927917 error in IE8 (8.0.6001.18702)

那支青花 2024-10-13 06:02:37

Sudip 解决方案更新:截至今天,安全更新 KB2936068 修复了此错误。

Update to Sudip's solution: As of today, Security Update KB2936068 fixes this error.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文