Hi everyone!
I am newbie and I’ve been trying to solve this by google it but I am not able to find the way to make it work…
I am trying to get the information from the file I drag and drop.
When I console log e.dataTransfer this is the object:
When I console.log(e.dataTransfer.files) this is the result on the console :
- FileList {length: 0}
- length: 0
However when I try to get into e.dataTransfer.files[0] it would be empty and give ‘undefined’.
Please let me know if i am missing information here.
I really do not know how I can get this information from files…
Thank you in advance