jquery clear file input

JavaScript
//clear a file input with jQuery 
$("#myFileInputID").val(null);

//clear file input in plain Javascript
document.getElementById("myFileInputID").value = null;


document.getElementById("myFileInputID").value = null;
Source

Also in JavaScript: