No http request sent!

No http request sent!

ArdiNugrahaArdiNugraha Posts: 3Questions: 1Answers: 0

i am using codeigniter as my backend framework and trying to make some server side processing
i've put the code in the right place, but no http request sent

  $('#table-store-lol').dataTable({
    "processing": true,
    "serverSide": true,
    "ajax": "<?php echo base_url()?>api/store/liststorebyuser/<?php echo $data ?>"
  });

i've put it in here $(document).ready( function (){ ... }

am i missing something?

Answers

  • allanallan Posts: 61,822Questions: 1Answers: 10,127 Site admin

    That looks okay to me assuming you have a table with a matching ID in your HTML. To say why it isn't working I'd need a link to a test case showing the issue, per the forum rules.

    Allan

  • ArdiNugrahaArdiNugraha Posts: 3Questions: 1Answers: 0

    here's my full source code
    http://pastebin.com/BsCsq7qh

    well i usually check at inspect element at my browser and check at network section but there is no http request sent by the server side datatables

  • ArdiNugrahaArdiNugraha Posts: 3Questions: 1Answers: 0

    FYI i am using jquery-2.1.3.min.js, jquery.dataTables.js, dataTables.bootstrap.js

  • allanallan Posts: 61,822Questions: 1Answers: 10,127 Site admin

    Thanks for the code, however, as requested, I'd need a link to the page showing the issue so I can debug it.

    Allan

This discussion has been closed.