close

solutions

 

var oTable;

$(document).ready(function(){

         oTable = $('#div').dataTable({

                 "bProcessing": true,

                "bServerSide": true,
                "sAjaxSource": "/url/path/"

               });

});

 

function myfunc(){

oTable.fnDraw();

}

 

it worked.

 

http://datatables.net/forums/discussion/256/fnreloadajax/p1

 

another solution

 

http://www.meadow.se/wordpress/?p=536

 

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 hmc0316 的頭像
    hmc0316

    hmc0316的部落格

    hmc0316 發表在 痞客邦 留言(0) 人氣()