[jQuery] jQuery getJSON syntax error
hi all,
I have a valid json string returned from the server(checks valid, ok
by jsonlint.org) But get a syntax error from the browser.
The call looks like: " $.getJSON(url, addData);'
The returned string looks like:
[{"EMAIL":"newal@domparaiski.com","FIRSTNAME":"Neal","ID":
80235,"LASTNAME":"Dombroski","PHONE":"9258958113"},
{"EMAIL":"5yughew90r@alertu.net","FIRSTNAME":"Flaviomeral","ID":
80236,"LASTNAME":"UBertitidito","PHONE":"4152861138"},
both IE and firefox show error, firefox error console says "syntax
error" followed by the json string.
Can anyone suggest why the syntax error occurs for seemingly valid
string?