Message from JavaScript discussions

October 2017

— Randomly posting links is pretty much spam

— 

Halp, i want to show my json data from my api to javascript datatables
this is how the json looks like https://gist.github.com/DimasInchidi/146adb10dc5545d3fafac154626ea38c

— And atm my js looks like this

$(document).ready(function () {
$('#table_channel').DataTable({
"ajax": "http://localhost:8401/administrator/channel/",
"columns": [
{"data": "channel_code"},
{"data": "channel_name"},
{"data": "channel_phone"},
{"data": "channel_email"}
]
});
});

Message permanent page

— Its throwing error from i is undefined, l undefined, j undefined. and now am stuck at TypeError: f is undefined

Message permanent page

— No idea what those error means 😢

— Lol, everything is undefined

— Did i miss something?

— I dont think so, the code looks fine, maybe problem in some other block of code

— Thats all my code, the other is datatables.js, jquery.js 😕

— console should show u the line number and the file which throws error

— Yeah its jquery.dataTables.min.js:27:64

— Probably use uncompressed version and check what is the issue