how to clear a from after submit code example
Example: javascript clear form after dubmit
//Get form by Id
var form = document.getElementById("MusicForm");
form.target.reset();
//Get form by Id
var form = document.getElementById("MusicForm");
form.target.reset();