jquery empty e.target.files[0] code example Example: javascript set file input value to null document.getElementById("myInputFileID").value=null;