We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4076bef commit e2a18d5Copy full SHA for e2a18d5
README.md
@@ -783,16 +783,15 @@ then in your views :
783
then in your Coffee/JS :
784
785
```coffee
786
+# send params in form data
787
$ ->
788
$('#posts-datatable').dataTable
789
ajax:
790
url: $('#posts-datatable').data('source')
- contentType: 'application/json'
791
type: 'POST'
792
- data: (d) ->
793
- JSON.stringify d
794
# ...others options, see [here](#5-wire-up-the-javascript)
795
+# send params as json data
796
797
$('#users-datatable').dataTable
798
0 commit comments