views:

46

answers:

3

I keep getting this error, but it doesnt give me a line number or anything.

'Error: uncaught exception: Syntax error, unrecognized expression: [object Object]' That is the error, from this script: http://www.fissiondesigns.com/simon/ try drawing a square on the picture.

Thanks in advanced!

A: 

Have you tried it with jQuery 1.4.2 + jQuery UI 1.8.2? It's a general law of computer science: always use the latest version. Bugs age getting fixed, design flaws are getting cleared up, etc.

galambalazs
A: 

Script you are using has some kind of parser. It should have sth like this:

throw "Syntax error, unrecognized expression: " + object.toString()

where object is some json instead of string in your case. I would check the configuration options for widget you are using.

Marek Kowalski
A: 

Whilst in dev/debug it helps not to use the minified versions of js libraries as you tend to get nonsensical errors.

Try including the full jquery/ui versions first to get better error info.

redsquare