$('input[type="file"]').attr('name');$('input[type="file"]').val();jquery低版本可能需要@$('input[@type="file"]')
$(':file').val();$(':file').attr('name');
jQuery 用法 $("input[type="file]").attr("src");src是指 路径 的意思 ,可能不是这个单词 ,希望 对你点用