0

Drag and Drop - how to identify/display file location from dropped()

I am using Drag and Drop v2 service:
service: 'DragAndDrop', version: '2'


How do I display the full path/location of the file I just dragged into the browser, like "C:\..\..\file1.txt". Currently, from the sample documentation, I was able to display only the file name

function dropped(arg) {
..
   for (var i = 0; i < arg.length; i++) {
 ..
    var e = document.createTextNode(arg[i].name);
..

I tried arg[i], arg[i].loc, arg[i].text.. none of them pulled the file location. I need the property name for the fully qualified file location.

by
0 Replies
This forum is locked.

Recent Posts

in Support & General Questions