I cannot load data/objects.txt

I cannot load data/objects.txt

Alex67000Alex67000 Posts: 39Questions: 6Answers: 0
edited November 2022 in DataTables 1.10
<script>
$(document).ready(function () {
    $('#lfg').DataTable({
        ajax: '/data/objects.txt',
        columns: [
            { data: 'name' },
            { data: 'position' },
            { data: 'office' },
            { data: 'extn' },
            { data: 'start_date' },
            { data: 'salary' },
        ],
    });
});
</script>

I'm stuck on "Loading..." in the table.

See the screencaptures below:

https://i.gyazo.com/631b045c0db5bf5e1bf9df2c6be6491d.png
https://i.gyazo.com/61f6801535d8d634558a716e2e214e74.png

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.