Answers for "html5 reset form"

6

javascript reset form

document.querySelector("form").reset();
Posted by: Guest on June-30-2020
1

Reset all form data

document.getElementById("myForm").reset();
Posted by: Guest on September-06-2021

Browse Popular Code Answers by Language