Sorry, we don't support your browser.  Install a modern browser
This post is closed.

Sending submissions with ajax: Add vanilla JS example#41

?

It would be great if the example on the page

https://getform.io/docs/using-ajax/sending-submissions-with-ajax

would be also available in vanilla js. I don’t use jQuery in my projects.

4 years ago
1
?

https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_forms_through_JavaScript#Using_XMLHttpRequest_and_the_FormData_object (solution see below “Using FormData bound to a form element”). There is also the possibility to use fetch() but this isn’t as wells supported as the solution mentioned above.

4 years ago
1
M
Changed the status to
Completed
3 years ago