how to clear list after sending data to html 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();