Answers for "reset form after submit javascript"

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
8

javascript prevent form submit

<form name="foo" onsubmit="return false">
Posted by: Guest on March-04-2020
9

javascript submit a form

document.getElementById("myFormID").submit();
Posted by: Guest on August-02-2019
1

after submit how to clear form in js

$('#admin-package-add-form')[0].reset();
Posted by: Guest on July-12-2021

Code answers related to "reset form after submit javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language