Server-side processing and jQuery 1.5.1
Server-side processing and jQuery 1.5.1
fisharebest
Posts: 17Questions: 1Answers: 0
I am using datatables 1.7.6, with server side processing.
Everything was working fine with jQuery 1.4.4. However, after we upgraded to jQuery 1.5.1, we get the error:
"DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."
I have examined the json response, using both Firefox/Firebug and the following test script.
<?php var_dump(json_decode(file_get_contents('http://localhost/......')));
Both tell me that the JSON is valid.
Is anyone else using jQuery 1.5.1 and server side processing? Is it working for you, or are you also having problems?
Everything was working fine with jQuery 1.4.4. However, after we upgraded to jQuery 1.5.1, we get the error:
"DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."
I have examined the json response, using both Firefox/Firebug and the following test script.
<?php var_dump(json_decode(file_get_contents('http://localhost/......')));
Both tell me that the JSON is valid.
Is anyone else using jQuery 1.5.1 and server side processing? Is it working for you, or are you also having problems?
This discussion has been closed.
Replies
See this thread:
http://datatables.net/forums/comments.php?DiscussionID=4133&page=1
We're using the jquery.ajaxQueue plugin. This is causing the problem.