js input field clear javascript code example
Example 1: javascript clear form after dubmit
//Get form by Id
var form = document.getElementById("MusicForm");
form.target.reset();
Example 2: js remove value input
document.getElementById("YourID").value = '';