Data Source Issue
Data Source Issue
Greetings,
I am trying to load my data table using javascript sourced data and I keep receiving the following error message: http://datatables.net/tn/4.
I followed the instructions here https://datatables.net/examples/data_sources/js_array.html, even though my data is an array of objects. Should I use the ajax method instead? I could not figure out how to access the object's data's using the js sourced data method. Any assistance is appreciated. My site and repo are below.
Site: https://nerdy-droid.github.io/
Repo: https://github.com/Nerdy-Droid/Nerdy-Droid.github.io
Thanks in advance!
Ashley
Replies
you are including the data file as if it were a regular javascript file but it is not structured that way so you are getting javascript errors.