js empty file input code example
Example 1: javascript set file input value to null
document.getElementById("myInputFileID").value=null;
Example 2: javascript clear file input
document.getElementById("myFileInputID").value = null;
document.getElementById("myInputFileID").value=null;
document.getElementById("myFileInputID").value = null;