diff --git a/README.md b/README.md index b791de5..ce345d4 100644 --- a/README.md +++ b/README.md @@ -167,7 +167,10 @@ in the `data` property of the `columns` array. $('#myDataTable').dataTable( { processing: true, serverSide: true, - ajax: '/index.php/DataTableExample/dataTable', + ajax: { + "url": "/index.php/DataTableExample/dataTable", + "type": "POST" + }, columns: [ { data: "s.s_name" }, {data : "c.c_name"}, @@ -186,4 +189,4 @@ Resources License Information ------------------- -License: The MIT License (MIT), http://opensource.org/licenses/MIT \ No newline at end of file +License: The MIT License (MIT), http://opensource.org/licenses/MIT