Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dropzone add download button

myDropzone.on("success", function(file) {
    var a = document.createElement('a');
    a.setAttribute('href',"/uploads/" + file.fullname);
    a.innerHTML = "<br>download";
    file.previewTemplate.appendChild(a);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dropzone #add #download #button
ADD COMMENT
Topic
Name
5+7 =