input box value needs to clear code example Example: js remove value input document.getElementById("YourID").value = '';