0

默认路径是这样的:

"sAjaxSource": "http://datatables.net/release-datatables/examples/server_side/scripts/jsonp.php",
    "fnServerData": function( sUrl, aoData, fnCallback ) {
        $.ajax( {
            "url": sUrl,
            "data": aoData,
            "success": fnCallback,
            "dataType": "jsonp",
            "cache": false
        } );
    }

但是当我把它改成这样时:

`"sAjaxSource": "/libclient_final/library/viewtarrif.php",
    "fnServerData": function( sUrl, aoData, fnCallback ) {
        $.ajax( {
            "url": sUrl,
            "data": aoData,
            "success": fnCallback,
            "dataType": "jsonp",
            "cache": false
        } );
    }`

数据没有回来,表格页眉和页脚折叠

4

0 回答 0