Persistent error: Requested unknown parameter '0' for row 0, column 0
Persistent error: Requested unknown parameter '0' for row 0, column 0
test here: http://aomppapp.gmaom.us:8080/get_cotg_form?id=dashboard2.html
uzoqik
Requested unknown parameter '0' for row 0, column 0
my project receives JSON data via AJAX. I get this error consistently and I don't know why.
My code is below:
$('.rma_load').click( function(){
$('#rmas').DataTable({
"ajax":
{"url": "http://aomppapp.gmaom.us:9090/get_RMA?PO_NUM=*",
"columns": [
{ "data": "Record.ID" },
],
},
});
});
This question has an accepted answers - jump to answer
Answers
I should have mentioned that when you visit my link, click on the RMA tab and you'll see the error.
The problem is you have your
columns
definition inside theajax
option:Move it outside like this:
Kevin
oh man, stupid mistake! thanks!