I have a problem with the dz success mark and dz error mark. I can't find how to display either one or the other that the result. I would like to do something like this:
if (success) {
show dz-succes-mark
} else {
show dz-error-mark
}
I have a problem with the dz success mark and dz error mark. I can't find how to display either one or the other that the result. I would like to do something like this:
if (success) {
show dz-succes-mark
} else {
show dz-error-mark
}
here another suggestion:
Dropzone.options.dropzone = {
init: function 1() {
this.on("success", function(file) {alert ("successful uploaded"); });
}
init: function 2() {
this.on("error", function(file) {alert ("error!"); });
}
}