how to reset the src of a js file html5 code example Example: javascript set file input value to null document.getElementById("myInputFileID").value=null;