Answers for "form reset html"

4

reset button html

<input type="reset" value="Reset" />
Posted by: Guest on February-23-2020
1

javascript clear form after dubmit

//Get form by Id 
var form = document.getElementById("MusicForm");
form.target.reset();
Posted by: Guest on November-15-2020
1

Reset all form data

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

javascript reset form

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

Browse Popular Code Answers by Language