I am running the following code for the bootloader that I am doing.
holder.ondrop = function (e) {
e.preventDefault();
console.log(e);
}
I want the user to be able to drag the file from the desktop to the web browser, and then I want to capture his location so that he can manually download it (don't want to download via javascript) My question is, however, how do I get the client location from the file from events so i can put it in <input type="file">?
Thank.
source
share