var $file = $('#container').find(':file'); $file.each(function(e){ $(this).after($(this).clone(true).val("")); $(this).remove(); }); 本例展示清空Input
var $file = $('#container').find(':file'); $file.each(function(e){ $(this).after($(this).clone(true).val("")); $(this).remove(); }); 本例展示清空Input