how to remove contne to input file type on click code example Example: javascript clear file input document.getElementById("myFileInputID").value = null;