There are some restrictions on input type = file
You can read here
It seems to work in IE8, IE9
$("input[type='file']").replaceWith($("input[type='file']").clone(true));
For testing in IE8, I changed the compatibility mode in the developer tool to IE8
Edit:
As with many IE hacks, I think it's better
if($.browser.msie){ $("input[type='file']").replaceWith($("input[type='file']").clone(true)); } else { $("input[type='file']").val(''); }
source share