开发者

HTML parsing error KB927917 IE8

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.


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!


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.


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.


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)


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜