Below is part of the jquery code I have which displays the file input and a \"Clear File\" button.
var $imagefile = $(\'\').attr({ type: \
By Setting $("ID").val(null), worked for me
$("ID").val(null)