in questo modo

// First change the button to actually tell Dropzone to process the queue.
document.getElementById("btnsalva").addEventListen er("click", function(e) {
// Make sure that the form isn't actually being sent.
e.preventDefault();
e.stopPropagation();
myDropzone.processQueue();

});


sembra funzionare