javascript button clear form 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();