您的位置:首页 > Web前端 > JQuery

When use jQuery databTables after add action reloa

2014-04-03 00:00 387 查看
摘要: solutions

var oTable;

$(document).ready(function(){

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

"bProcessing": true,

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

});

});

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  laravel jquery
相关文章推荐