125
rated 0 times
[
126]
[
1]
/ answers: 1 / hits: 33548
/ 10 Years ago, thu, june 12, 2014, 12:00:00
I'm using Dropzone.js
to upload files to the server. I setting up my Dropzone maxFiles
parameter to 10 and I was tried this:
$('.dropzone').dropzone({
maxFiles: 10,
init: function() {
this.on('maxfilesreached', function() {
$('.dropzone').unbind('click');
});
}
});
...but not working. What is the solution to remove clickable from .dropzone or any other way to prevent user to add more files?
More From » jquery