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
全站熱搜