title: Configure dynamically generated dropzone
body: <p>Ok, so I have a situation as follows: I have a page which has a textbox input (file description) and a dropzone component for uploading a file. This dropzone is configured to only accept a single file, and hits a controller method which stores the file on disc and creates an entry in the DB for this file.</p>
  
  <p>The application needs to accept multiple files, and to achieve this I call another function in the on("success") method of the first dropzone to add another textbox+dropzone combo to the DOM. This dropzone obviously needs to be configured, which is done using the following line of code:</p>
  
  <pre><code>Dropzone.options.propertyFile = {...}
  </code></pre>
  
  <p>propertyFile is the camelized name of the div that contains the dropzone being configured.</p>
  
  <p>So the first dropzone div ID is propertyFile1. To create the next one, I pass an incremented index value to the CreateDropzone method.</p>
  
  <pre><code>CreateDropzone(2)
  </code></pre>
  
  <p>Will create a Div with the ID of propertyFile2, etc.</p>
  
  <p>How do I now configure the new dropzone in the CreateDropzone function since I do not know what it's name will be at runtime?</p>
  
  <p>The code for CreateDropzone is as follows:</p>
  
  <pre><code>var CreateDropzone = function (n) {
  var newPropertyFile = "&lt;div class='col-sm-4'&gt;&lt;div class='form-group'&gt;&lt;label for='propertyFile" + n + "Desc'&gt;File Description&lt;/label&gt;&lt;input type='text' id='propertyFile" + n + "Desc' /&gt;&lt;div class='dropzone' id='propertyFile" + n + "'&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;";
  $('#propertyFiles').append(newPropertyFile);
  
  Dropzone.options.propertyFile = {
      url: "/admin/PropertyFile/UploadPropertyFile",
      acceptedFiles: "application/pdf",
      uploadMultiple: false,
      addRemoveLinks: true,
      maxFiles: 1,
      init: function () {
          ...
      }
  }
  </code></pre>
  
  <p>How do I reference the specific Dropzone I just created in the 4th line of code since it could be called propertyFile12 (after 11 files have been uploaded).</p>