how to clear input after submit js 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();