HTML5 Drag n Drop File Upload
- by Paris
I'm running a website, where I'd like yo upload files with Drag 'n Drop, using HTML5's File Api and FileReader API. I have successfully managed to create a new FileReader, but I don't know how to upload the file. My code (javascript) is the following :
holder = document.getElementById('uploader');
holder.ondragover = function () {
…