remove value from input js code example Example: js remove value input document.getElementById("YourID").value = '';