How to display content of json file using jquery?
How to display content of json file using jquery?
Hey guys I'm getting an error: Uncaught TypeError: Cannot read property 'length' of undefined
I am using java spring.
see below for my codes and the json file



This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Looks like the JSON data is in an object called
bbData. Datatables looks for the data in an object calleddataby default. You can either change your server script to usedatainstead ofbbDataor you can useajax.dataSrcto get the data frombbData.Kevin
Hello kthorngren!
That's what I did and it worked! Thank alot!