Skip to content

Commit

Permalink
documentation is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzypants1989 committed Oct 23, 2023
1 parent 9645a9e commit 476ae25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,10 @@ dynamicSpans.fromJSON(
```javascript
// This will automatically serialize the form
// It will send it to the action attribute if it exists (The page's URL if not)
// You can also customize each aspect of the request if you want.
// EVERYTHING is optional. You can just pass a URL if you want.
$("#bigForm").send()

// You can also customize each aspect of the request if you want.
// EVERYTHING is optional. You can just pass a URL if you want.
$("#otherSubmitButton").on("click", (event) => {
$$("#bigForm").send({
event, // to prevent default submission
Expand Down

0 comments on commit 476ae25

Please sign in to comment.