Sections
form
1 thread tagged with this topic
Threads tagged form
- ✓
How do I clear a form after sending it with fetch or AJAX?
Call the form's reset method after the server has answered successfully, not before. Stop the normal submit with preventDefault, send the fields with fetch and...
0replies