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.
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.
Share Improve this question asked Dec 8, 2010 at 4:17 zodzod 12.4k25 gold badges73 silver badges107 bronze badges 2- 1 Please post a link to the page with the problem. Also, try running your page through validator.w3.org – Paul Schreiber Commented Dec 8, 2010 at 4:22
- 1 Maybe you should let Microsoft know about this too, because IE8 is not supposed to get this message. ;P support.microsoft.com/kb/927917 – deceze ♦ Commented Dec 8, 2010 at 4:25
5 Answers
Reset to default 8You 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.