Below is part of the jquery code I have which displays the file input and a \"Clear File\" button.
var $imagefile = $(\'\').attr({ type: \
This should work:
$imageClear.on('click', function() { $imageFile.val(''); });