title: How to change url dropzone? URL dynamically with ajax success
body: <p>I read this: <a href="https://github.com/enyo/dropzone/wiki/Set-URL-dynamically" rel="noreferrer">https://github.com/enyo/dropzone/wiki/Set-URL-dynamically</a> but i dont got success... :(
  I have 1 form... </p>
  
  <p>And i send the inputs with ajax.</p>
  
  <p>The ajax returns the new id of user. in this moment i want to change de url dropzone for to set path to id of the new user.</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: "class/inserir.php?funcao=teste",
      data: formdata,
      dataType: "json",
          success: function(json){
          if(json.sucesso=="sim"){
              alert("Wait! Sending Pictures.");
                      this.options.url = "class/upload_img.php?"+json.id;
              myDropzone.processQueue(); 
          }else{
          location.href="home.php?ir=cad_animal&amp;cad=nao&amp;erro="+json.erro;
          }
      }
  });
  
  var myDropzone = new Dropzone("#imagens", {
  
      url: "class/upload_imgteste.php",
      paramName: "file", // The name that will be used to transfer the file
      maxFilesize: 1, // MB
      addRemoveLinks : true,
      dictResponseError: "Não foi possível enviar o arquivo!",
      autoProcessQueue: false,
      thumbnailWidth: 138,
      thumbnailHeight: 120,
  
  });
  </code></pre>
  
  <p>sorry for my bad english!</p>
  
  <p>Thanks for all.</p>