DataTables on usb pen drive and static data?
DataTables on usb pen drive and static data?
soundiver
Posts: 2Questions: 1Answers: 0
Hello, is it possible to create a simple html page on a usb pend drive qithe DataTables and static data to feed the table? (no database calls o remote servers).
Thank You
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The only thing I can think of that might be a hurdle with this is that browser's won't allow Ajax requests to
file://
. Doing so would be a very significant security risk. So you couldn't Ajax load JSON data - that isn't a limitation of DataTables, but a security restriction in the browsers.You could perhaps include the JSON data in your HTML file as just a Javascript variable if it isn't going to change (use
data
).Allan
Thank you very much!