Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2361,7 +2361,7 @@ Because of hoisting, functions can be used before they are declared.

89. ### How do you submit a form using JavaScript

You can submit a form using `document.forms[0].submit()`. All the form input's information is submitted using onsubmit event handler
You can submit a form using `document.forms[0].submit()`. All the form input's information is submitted using ~~onsubmit event handler~~ to the action url provided

```javascript
function submit() {
Expand Down