Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

FileReader get filename

var reader = new FileReader();
reader.fileName = file.name // file came from a input file element. file = el.files[0];
reader.onload = function(readerEvt) {
    console.log(readerEvt.target.fileName);
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #FileReader #filename
ADD COMMENT
Topic
Name
8+7 =