Jquerydatatable 服务器端分页
技术点:
设置请求 AJAX数据
"bProcessing" : false ,
"bServerSide" : true ,
"sAjaxSource" : "baojing.do?rand=" +Math.random(),
"fnServerData" : function (sSource, aoData, fnCallback) {
$.ajax({
"type" : "get" ,
"contentType" : "application/json" ,
"url" : sSource,
"dataType" : "json" ,
"data" : {
aoData :JSON.stringify(aoData),
"type" : 5,
"kaishiriqi" : kaishiriqi,
"jieshuriqi" : jieshuriqi,
"flag" : flag
}, // 以json 格式传递
"success" : function (resp) {