mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-18 16:54:14 +01:00
Fix - docs: Add jqXHR saving to fnServerData example
This commit is contained in:
parent
3d802a685b
commit
29e0d112cb
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -8539,8 +8539,8 @@
|
||||
* "bProcessing": true,
|
||||
* "bServerSide": true,
|
||||
* "sAjaxSource": "xhr.php",
|
||||
* "fnServerData": function ( sSource, aoData, fnCallback ) {
|
||||
* $.ajax( {
|
||||
* "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
|
||||
* oSettings.jqXHR = $.ajax( {
|
||||
* "dataType": 'json',
|
||||
* "type": "POST",
|
||||
* "url": sSource,
|
||||
|
@ -901,8 +901,8 @@ DataTable.defaults = {
|
||||
* "bProcessing": true,
|
||||
* "bServerSide": true,
|
||||
* "sAjaxSource": "xhr.php",
|
||||
* "fnServerData": function ( sSource, aoData, fnCallback ) {
|
||||
* $.ajax( {
|
||||
* "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
|
||||
* oSettings.jqXHR = $.ajax( {
|
||||
* "dataType": 'json',
|
||||
* "type": "POST",
|
||||
* "url": sSource,
|
||||
|
Loading…
x
Reference in New Issue
Block a user