Problems on IE8
Problems on IE8
Hello,
I´m using DataTables with web2py and don´t have any problems with Firefox. But with IE8 I have. Can´t get it to display data everytime. Sometimes it shows and some times it says "Datatables warning: JSON data from server failed to load or be parsed. this is most likely to be caused by a JSON formatting error".
I looked at the JSON data in both Firefox and IE and they look a like, identical.
Where should I start looking for the problem. I upgraded DataTables to 1.7.2. but no luck.
I´m using DataTables with web2py and don´t have any problems with Firefox. But with IE8 I have. Can´t get it to display data everytime. Sometimes it shows and some times it says "Datatables warning: JSON data from server failed to load or be parsed. this is most likely to be caused by a JSON formatting error".
I looked at the JSON data in both Firefox and IE and they look a like, identical.
Where should I start looking for the problem. I upgraded DataTables to 1.7.2. but no luck.
This discussion has been closed.
Replies
Allan
Do you have some examples that I could look at.
My JSON data look like this:
{"iTotalRecords":3, "iTotalDisplayRecords":2, "aaData": [ ["Kenneths", "177 / 0 / 267", "3 / 0 / 3", "0 / 0 / 0", "0 / 0 / 0", "0 / 0 / 0", "0 / 0 / 0", "", ""], ["Sarin testiLPK", "4865 / 5260 / 1240", "0 / 0 / 0", "0 / 0 / 0", "0 / 0 / 0", "0 / 0 / 0", "0 / 0 / 0", "", ""] ]}
Allan
I removed the comma but it didn´t help. Now four hours later when I´m ready to continue looking for the problem everything is working.
Kenneth
Allan