html5 detect how many files being dropped?
Is it possible to detect how many files are being dropped using HTML5 drag/drop? I can detect the number of files using e.dataTransfer.files once the files have been dropped but the filesList is empty for ondragover &a开发者_运维知识库mp; ondragenter events.
You can try this :
e.dataTransfer.files.length
精彩评论