When use jQuery databTables after add action reloa

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

 

 


你可能感兴趣的:(jquery,laravel)