问题描述:

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.

网友答案:

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.

网友答案:

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.

网友答案:

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.

相关阅读:
Top