Skip to content

Dropzone Set URL dynamically


If you need to change the URL dropzone posts to dynamically for each file, you can use the processingfile event and change the options.url.


<form id="my-dropzone" action="/some-url" class="dropzone"></form>
Dropzone.options.myDropzone = {
  init: function() {
    this.on("processing", function(file) {
      this.options.url = "/some-other-url";

Posted in Javascript, jquery. Tagged with , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.