Error parsing json in browsers other than firefox
Error parsing json in browsers other than firefox
I am using datatables with server side processing. Everything is working fine in firefox.
However other browsers (ie7, safari, chrome & opera) give a error parsing the json.
Here is the json being returned by the server;
{"sEcho": 1,
"iTotalRecords": 5,
"iTotalDisplayRecords": 5,
"aaData": [
["430S/S 010",
"2000",
"1000",
"0.70",
"430 S/STEEL",
"Edit",
"Delete"],
["PVC 010",
"2055",
"1050",
"0.55",
"WHITE PVC",
"Edit",
"Delete"],
["PVC 020",
"2134",
"1220",
"0.55",
"WHITE PVC",
"Edit",
"Delete"],
["PVC 500",
"2500",
"1250",
"0.70",
"BLACK PVC",
"Edit",
"Delete"],
["S/S400",
"1000",
"202",
"0.70",
"420 S/STEEL",
"Edit",
"Delete"],
]}
can anyone see anything obvious?
However other browsers (ie7, safari, chrome & opera) give a error parsing the json.
Here is the json being returned by the server;
{"sEcho": 1,
"iTotalRecords": 5,
"iTotalDisplayRecords": 5,
"aaData": [
["430S/S 010",
"2000",
"1000",
"0.70",
"430 S/STEEL",
"Edit",
"Delete"],
["PVC 010",
"2055",
"1050",
"0.55",
"WHITE PVC",
"Edit",
"Delete"],
["PVC 020",
"2134",
"1220",
"0.55",
"WHITE PVC",
"Edit",
"Delete"],
["PVC 500",
"2500",
"1250",
"0.70",
"BLACK PVC",
"Edit",
"Delete"],
["S/S400",
"1000",
"202",
"0.70",
"420 S/STEEL",
"Edit",
"Delete"],
]}
can anyone see anything obvious?
This discussion has been closed.
Replies