unexpected Archive
-
JQuery error IE 7 and 8 Unexpected call to method or property access
Posted on March 7, 2012 | No CommentsMy javascript works fine for Chrome, Firefox, and IE 9, but breaks for IE 7 and 8 with an error: SCRIPT65535: Unexpected call to method or property access. jquery.min.js, line... -
Uncaught SyntaxError: Unexpected token ILLEGAL when returning a £ symbol using JSON
Posted on January 17, 2012 | No CommentsWhen I try to return a £ symbol from a JSON call, I get an error in chrome: Uncaught SyntaxError: Unexpected token ILLEGAL var currency = ""; var price =... -
jQuery addClass() returning unexpected result
Posted on December 4, 2011 | No CommentsReally baffled here. I’m just trying to do an addClass('test') on a hovered target… my jQuery looks like this: //#nav-main dropdown effects $ ('#nav-main ul li').hover(function () { $ ('#nav-main... -
Q&A: Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’?
Posted on August 25, 2011 | 2 CommentsQuestion by Chia: Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’? what’s wrong with this code, I’ve got this error: Parse error: syntax error, unexpected T_STRING, expecting ‘,’...