Jquery clears the file field example of of compatible with all browsers



var file = $("#FileId")
file.after(file.clone().val(""));
file.remove();