Trying to make ajax call but not working with version 1.10.16
Trying to make ajax call but not working with version 1.10.16

I m using datatable version 1.10.16 and trying to use ajax call but its not working.
I have a datatable which showing data (only last 7 days because I have huge amount of data) while page upload (Working Perfect). Now I add a custom date range option for search my data date wise, so when I m trying to make a ajax call its giving me error that parentnode can not be null.
Please help.
This discussion has been closed.
Answers
it's exact error
"jquery.dataTables.min.js:137 Uncaught TypeError: Cannot read property 'parentNode' of null"
Hi @testmb0407 ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Hi @colin ,
Thanks for your response.
I have forgot to attached the code. Now I have attached the code, please have a look and suggest.
Now I m getting "DataTables warning: table id=example - Cannot reinitialise DataTable. For more information about this error, please see http://datatables.net/tn/3" error.
The link provided in the error message explains how to resolve the problem.
In your case, you are initialising DT inside a function which is called more than once.
Otherwise, please provide a link to a test case as already requested by Colin.