I have an html element input type file. I am getting the multiple file names using this code:
<input id="inputAddVideo" onchange="AddVideo(this.id)" type="file" name="upload" multiple/>
var files = $('input[type="file"]')[0].files;
for (var i = 0; i < files.length; i++) {
alert('path: ' + files[i].path);
var filename = files[i].name.split('.');
}
Now at the same time, how can I retrieve path of each file using javascript?