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