FileList is an object which represents an array of individually selected files from the underlying system.
PropertiesNo events.
Examplesiterates over all the files selected by the user using an input element
var fileInput = document.getElementById("myfileinput");
var files = fileInput.files;
var file;
for (var i = 0; i < files.length; i++) {
file = files.item(i);
file = files[i];
alert(file.name);
}
Related specifications
Mozilla Developer Network : [FileList Article]
Microsoft Developer Network: [fileList Object Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4