Skip to content

Commit

Permalink
docs: reformat example
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Mar 11, 2024
1 parent 1f84331 commit 54245dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,11 @@ Client-side:
```javascript
$('table#sample').DataTable({
'ajax': {
'contentType': 'application/json',
'url': '/data/users',
'type': 'POST',
'data': function(d) {
ajax: {
contentType: 'application/json',
url: '/data/users',
type: 'POST',
data: function(d) {
return JSON.stringify(d);
}
}
Expand Down

0 comments on commit 54245dd

Please sign in to comment.