reset value of file-input using javascript code example Example: javascript clear file input document.getElementById("myFileInputID").value = null;