views:

51

answers:

3

I have a website that's using a slightly modified version of Superfish that works fine in FF and Safari.

When I try it in IE 8, it doesn't work. However, when I use an IE plugin called "Developer Tools", enable stop on error, start debugging and refresh the page, the app works.

There are a couple of errors that come up when I load the page with debugging enabled but I believe they are unrelated since the app works perfectly in FF.

Does anyone have any thoughts about why this might be occurring?

A: 

Start with fixing all errors.

Then check for "console.log()" in your code - it can produce errors in IE because it don't support it by default.

Māris Kiseļovs
A: 

I tried clearing the cache, to no avail.

There is no console.log() in the code. The error I'm getting in the JQuery.js is on line 116 which is:

if(e)f[b]=d;

Btw, the version of JQuery being used is 1.4.2.

Steve
you shouldn't answer your own questions (unless you have an answer) but update your original question. I'd say this is almost certainly something like a console.log mentioned in Maris' answer. That happens to me all the time where console is not defined in IE.
brad
A: 

OP again, on second look, I've been using the minimised version of jQuery so the line numbers are off. I replaced it with the full version and the error is now on line 4618:

if ( set ) {
    style[ name ] = value;
}
Steve