Using Json data for input
-
Hello,
I tried to load a json file with ajax but it doesn’t seem to work.
Here’s the code:
[wp-datatable id="table"] paging: false, responsible: true, search: true, stateSave: true, ajax: { url: "<em>URL</em>/webradio_test.json" }, dataType: 'json', cache: false, type: 'GET', columns: [{ "data": "URL" },{ "data": "public" }] [/wp-datatable]
Here’s the json file:
[ { "URL": "4urock.com", "public": "tous publics" }, { "URL": "77fm.net", "public": "tous publics" } ]
Any idea about where i did some mistakes?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using Json data for input’ is closed to new replies.