Hi Everyone, I have a silly question but kind of bother me.
So I have the following code:
What I want is Change the File Path from "data.json"
to another folder path like "../Data/data.json"
But it seems like Datatables alert error to me, I suspect it's the "url" didn't find the proper file path? I just simply want to put the actual json file in another folder. Please advice. Thank you.
$('#example').dataTable(
{ "ajax":
{ "url": "data.json",
"dataSrc": "tableData" }}
);