19 Mar 2010

Fixing Internet Explorer Javascript Errors: line 1 char 1 code 0

I've found that this is usually something header-ish and to do with the actual loading of the js rather than a bug within the script. Today, I've just spent an hour tracking down the problem. Firefox said "problem? what problem?"

The solution: the js (jQuery in this case) was being loaded twice. That kind of thing happens when all the pages on a website are composite and constructed on the fly.

No comments:

Post a Comment