Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dropzone upload on one file

init: function() {
  this.on('addedfile', function(file) {
    if (this.files.length > 1) {
      this.removeFile(this.files[0]);
    }
  });
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dropzone #upload #file
ADD COMMENT
Topic
Name
6+6 =