112
rated 0 times
[
115]
[
3]
/ answers: 1 / hits: 135390
/ 11 Years ago, sat, june 8, 2013, 12:00:00
I am using dropzone.js for my drag-drop file upload solution. I am stuck at something where I need to call a function after all the files are uploaded. In this case,
Dropzone.options.filedrop = {
maxFilesize: 4096,
init: function () {
this.on(complete, function (file) {
doSomething();
});
}
};
doSomething() will be called for each file that has been uploaded. How can I call a function after all the files are uploaded?
More From » jquery