loading Datatables js libraries not in but later
loading Datatables js libraries not in but later
veloopity
Posts: 87Questions: 36Answers: 2
When I put the <script src="https://cdn.datatables.net/ ... "> statements into the page <head>, all works well. For reasons that I don't want to go into here, I wonder if it is possible to take these statements and instead put them into the page body above the position which defines and displays the datatable. When I do that, I get "Datatable is not defined". Is is possible at all to do that and how?
This question has an accepted answers - jump to answer
Answers
Do you mean something like this:
https://live.datatables.net/yudanuyi/1/edit
If this doesn't help then please provide a link to your page or a test case replicating the error so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
yes, like that. So far I've not been able to make it work but I'll try again, seeing now that it should work