how to remove item in input with js code example Example: js remove value input document.getElementById("YourID").value = '';