javascript set file input value to null

JavaScript
document.getElementById("myInputFileID").value=null; 
Source

Also in JavaScript: