火狐中如下 $("#fileInputId").prop("value","");IE中如下 var fileInput = $("#fileInputId"); fileInput.replaceWith(fileInput.clone());