clear value of input type file jquery code example
Example: jquery clear file input
//clear a file input with jQuery
$("#myFileInputID").val(null);
//clear file input in plain Javascript
document.getElementById("myFileInputID").value = null;
//clear a file input with jQuery
$("#myFileInputID").val(null);
//clear file input in plain Javascript
document.getElementById("myFileInputID").value = null;