-
var files = document.getElementById("file-input").files; // var files = $("#file-input")[0].files; for (var i = 0; i < files.length; i++) { alert(files[i].name); }