jquery databtable editable 怎么切换ajax Source

2024-11-07 19:25:50
推荐回答(1个)
回答1:

"fnServerData": function ( sSource, aoData, fnCallback ) {
aoData.push( { "name": "table", "value": "wordforms" } );
$.ajax( {
"dataType": 'json',
"url": sSource,
"data": aoData,
"success": fnCallback
} );
}