【发布时间】:2016-05-15 10:02:42
【问题描述】:
【问题讨论】:
-
console.log(myDropzone.files[0].name);
标签: javascript jquery dropzone.js
【问题讨论】:
console.log(myDropzone.files[0].name);
标签: javascript jquery dropzone.js
myDropzone.files 返回一个 File 对象数组。您可以使用索引访问特定的文件属性。
例如。
console.log(myDropzone.files[1].name);//Getting second file name
【讨论】:
转到 dropzone.js 并找到
Dropzone.prototype._finished() 函数并提醒这一点
responseText.success
你会得到文件名
【讨论】: