tags:

views:

24

answers:

2

hi friends,

i write external js and write JSON string in js file want to parse main html file's js tag ,but it gives like **error: missing } in xml expression**

some body plz help me

A: 

Look through your code carefully, make sure you didn't forget a closing bracket, brace or semicolon somewhere in your code.

If you want people to get a better idea of what is wrong, you should post your code.

Marcin
+1  A: 

doublecheck that your JSON uses quotes, e.g. {a:"b", ... is invalid, you must use {"a":"b", ...

mykhal