i have a simple webapp, with this piece of code :
$(document).on('drop', '#dropfile', function(e) {
e.preventDefault();
e.stopPropagation();
$(this).css('border', '6px #6BFF38 solid'); //vert
var file = e.originalEvent.dataTransfer.files[0];
alert(file.name);
return false;
});
The "alert(file.name)" return just the name of the file. I know it's a usual question, but i didn't find the answer. How can i get the full path of the file instead of only the name ? Is there any parameter of the file to get it ?