JS Hapus input nilai

document.getElementById("YourID").value = '';
Borma