I Have a problem with the ajax return object
I Have a problem with the ajax return object
PontyPandy
Posts: 2Questions: 1Answers: 1
Hi,
I need some help, i have some problems with my ajax return.
In case of empty elements the server returns:
JSON
{
"error": true,
"response": "Requesição já não se encontra em Lista de Espera."
}
and my datatable returns de alert:
"DataTables warning: table id=DataTables_Table_1 - true"
oTable = $("#mytable").DataTable({
"ajax": {
"url" : URL,
"dataSrc": " response"
}
How can i treat this case?
Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I solved the problem, i was with a old version of dataTables.