jQueryでinput[type=file]のファイル名を取得する

jQueryでinput[type=file]のファイル名を取得する

$('#file').prop('files')[0].name;