Hi everyone
I'm in the middle of identifying why IE7 and IE8 produce an error when a lot of data is returned on the client side.
There's an AJAX call which queries a database, loops through the results and creates a json object ( using the JSON library for Java).
Now on the client side ( javascript) I loop through each "row" and print the result.
Using firebug's response I copy the entire string and check with jsonlint and the json returned shows as valid.
With Firefox, Safari and Opera I get no errors whatsoever when the json is processed.
With IE7/IE8 when the resuls are somewhat greater (don't know the exact number) than 1850 I get a parsererror.
Any idea why this might be happening?
The returned string from the servlet is a json object "rows" which is a JSONArray and javascript loops through each element and processes the results.
When debugging in IE, the ajax call does goes directly to the error callback function and not the success callback function.
I'm using jquery 4+
Any suggestions/advice/solution are welcome
Thanks
Andreas