How to reload the datatable(jquery) data?

后端 未结 10 2486
萌比男神i
萌比男神i 2020-12-05 05:39

How to reload the selected tab? Actually I have problem with reloading part. When I add my data I\'ll successfully saved in datatable but in id field in database it shows pr

10条回答
  •  独厮守ぢ
    2020-12-05 05:51

    If anything works! Do this:

    example:

    how to reload the table:

    $('#tabledisplay').empty();
    $('#tabledisplay').append("
    "); initTable( "tablename");

    initTable is just a method, that initialized the Table with getJSON.

提交回复
热议问题