L
L
lavezzi12018-03-02 08:01:23
JavaScript
lavezzi1, 2018-03-02 08:01:23

How to determine how many files are inside a folder when uploading?

Hello! Wrote a simple file uploader for an example. When you throw a folder with files, how to count how many files are in this folder to show on the side of the folder name? For example: folder1 (3).
https://jsfiddle.net/176gsmf9/11/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2018-03-02
@tyzberd

https://developer.mozilla.org/en/docs/Web/API/File...
https://developer.mozilla.org/en/docs/Web/API/FileList
https://developer.mozilla.org /en/docs/Web/API/File
https://developer.mozilla.org/en-US/docs/Web/API/H...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question