javascript - How to trigger the Dropzone.js' default file upload input? -
i'd know how trigger dropzone.js' default file upload input? it's not simple this:
window.dropcloud = = new dropzone("#dropcloud", {...}); $(window.dropcloud.clickableelements[0]).trigger("click");
now don't have ideas. anyway whole #dropcloud
container hidden, if matters.
simple. in version 4.0 can do:
new dropzone(".element", { clickable: '.mytrigger' }); new dropzone(".element", { clickable: ['.mytrigger', '.myothertrigger'] });
Comments
Post a Comment