title: Dropzone.js how to serialize values and send it?
body: <p>Im im totally stuck with <a href="http://www.dropzonejs.com/" rel="nofollow">Dropzone.js</a>, i would like to create a drag and drop file upload</p>
  
  <p>Setting it up is okay</p>
  
  <pre><code>&lt;form id='test' enctype="multipart/form-data"&gt;
      &lt;input type="text" name="album_name"&gt;
      &lt;div id="myId" class="dropzone"&gt;
  
      &lt;/div&gt;
      &lt;button type="submit" id="newAlbum"&gt;go go&lt;/button&gt;
  &lt;/form&gt;
  
  &lt;script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://malsup.github.com/jquery.form.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
  &lt;script src="https://raw.github.com/enyo/dropzone/master/downloads/dropzone.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(document).ready(function(){
       $("#myId").dropzone({ 
          paramName: 'photos',
          url: "post.php",
          dictDefaultMessage: "Drag your images",
          clickable: true,
          enqueueForUpload: true,
  
          selectedfiles: function()
          {
              $('#newAlbum').show();
          }
      });
  
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>But i have no clue hot to serialize the form, and send it</p>
  
  <p>Could please someone show me an example?</p>