Skip to content
CoursesWeb Forum
Sections

ajax

1 thread tagged with this topic

Threads tagged ajax

  1. ✓

    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...

    JavaScript Events, Timers and FetchTeodora VanceStaff answer
    0replies
CoursesWeb Forum. Questions and answers on learning web development: HTML, CSS, JavaScript, PHP, MySQL, Node.js and AI coding help.