Net
pala
ntir

SCRIPT1028: Expected identifier, string or number

Ever fought with this on IE7?

Ever fought with this on IE7?

SCRIPT1028: Expected identifier, string or number

If your script works fine with Firefox and IE8+ but not on IE7, it surely is a "misplaced" comma, like this:

var x = {
  property1 : 1,
  property2 : 2, // IE7 does not like this comma
};

Note that the error may be reported as being some lines above or below the culprit: look in the lines surrounding the suggested line.

blog comments powered by Disqus
©2004-2012 Netpalantir . credits