title: blueimp jQuery-File-Upload not working
body: <p>This is the HTML</p>
  
  <pre><code>&lt;input id="fileupload" class="button-default" type="file" name="files[]" data-url="/php/upload.php" multiple&gt;
  </code></pre>
  
  <p>I'm using jQuery blueimp file upload widget to upload files to the server:</p>
  
  <pre><code>$('#fileupload').fileupload({
      dataType: "json",
      add: function (e, data) {
          data.submit();
      },
      done: function (e, data) {
          $.each(data.result.files, function (index, file) {
              $('&lt;p/&gt;').text(file.name).appendTo(document.body);
          });
      }
  });
  </code></pre>
  
  <p>What is wrong with this code? I get no error in the console, checked the upload handler...</p>