datatables warning: table id - invalid json response
datatables warning: table id - invalid json response
Kmusselman
Posts: 1Questions: 1Answers: 0
Hello everybody, it would seem that instead of receiving a json response, what's being returned is simply html. If anybody could shine some light on my situation, it would be greatly appreciated. If more information is required, I'm more than happy to comply.
Debugger Code: obaxov
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Check out Technical notes
We would need a link to a working example with your issue to be able to help as per forum rules
js42.gordan is correct as we normally require a test case, but in this case the debugger has given enough information to see what the problem is.
The problem is you don't have the
ajax
option so it doesn't know where to request the data from meaning its actually requesting it's own page.Thanks
Tom