Thursday, February 9, 2012 2:34

Javascript error: Expected identifier, string or number

Tagged with:
Posted by on Tuesday, August 31, 2010, 20:21
This news item was posted in Web x.0 category and has 0 Comments so far.

We came across this issue when testing our web application on IE6 and IE7.  It works well on Firefox and IE8.

Expected identifier, string or number

The root cause is the extra ‘,’  in the variables definition.

References:

http://yuweiqiang.blog.163.com/blog/static/66570412010623074104/

http://hi.baidu.com/hengcheng/blog/item/2dc020fa9d621f839f5146e5.html

Leave a Reply

You can leave a response, or trackback from your own site.