input file does not clear when back code example Example: javascript clear file input document.getElementById("myFileInputID").value = null;