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