weixin_33730836 2016-11-17 05:28 采纳率: 0%
浏览 79

在DataTable中重新加载表

I have ajax function which can insert/update records and I'm using DataTable.

var table = $('#table').DataTable(); // Working...

But when I add ajax

var table = $('#table').DataTable({

    "processing": true,

    "ajax": {
        "url": "<?php echo site_url('person/ajax_list')?>",
        "type": "POST"
    },
});

I got an popup error says: CLICK HERE...

Anyone can help about this error?

  • 写回答

0条回答 默认 最新

    报告相同问题?