-
3 Feb 2009 6:57 PM #1
JSON+decode+syntaxerror
JSON+decode+syntaxerror
i have a variable sometyhing like this
var abcd = Ext.util.JSON.decode(act.response.responseText);
which i am using to refer to the json response object which comes from the servlet.
but i am getting syntax error in ie(but in mozilla fireFox it sails smoothly)
Please tell
me where i am wrong
-
3 Feb 2009 7:03 PM #2
It's likely you have an extra comma somewhere:
Code:var o = { foo: 'bar', //<- ie will barf on this. };Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!


Reply With Quote