Below is part of the jquery code I have which displays the file input and a \"Clear File\" button.
var $imagefile = $(\'\').attr({ type: \
This works to
$("#yourINPUTfile").val("");