javascript errors in FF but not in IE or chrome
Recently I've been seeing this error more and more - a javascript error causes scripts to stop running in the page (I only see this in the error console) and so a page fails to display correctly. Under IE or chrome, the error either does not happen at all, or the scripts can continue executing without issue.
an affected site: http://blastr.com/2010/09/karen-gillan-and-matt-smi.php
由damocles于
所有回复 (4)
For possible causes and solutions see the Warning Unresponsive script - What it means and how to fix it article.
It's not an unresponsive script error, it's a logical script error. In the case of the link I provided in the OP, the error says that element X is not found during a call to a jQuery function, but that error does not occur under IE or chrome.
I get a couple of errors in the error console but they do not appear to impact upon the display of the page for me. The errors I see are:
Error: document.body is null Source File: http://mt4-blogs.syfy.com/global/js/jquery.js Line: 19
Error: jqN is not defined Source File: http://www.syfy.com/global/scripts/client_include/client_include.js Line: 19
I get the jQN error, but I also get:
Error: $("div#photoGallery").slideProjector is not a function
I tried turning off all my add-ons, and made sure all extensions/plug-ins are up to date, but the problem still persisted.
由damocles于