title: .submit () isn't including hidden fields
body: <p>Binding a jQuery <code>.submit()</code> post to a <code>dropzone file upload</code> complete handler results in all the correct data being sent, except it's missing the hidden input fields. Code is all <code>php</code> and <code>jquery/js</code></p>
  
  <p>Can't find anything about why these would be excluded.</p>
  
  <p>All hidden fields are in the form, and have both name and id filled</p>
  
  <pre><code>&lt;pre&gt;
  &lt;code&gt;
  &lt;form id="payments" method="post" action="&lt;?php $_SERVER['PHP_SELF'] ?&gt;" class="form-horizontal" &gt;
  
  &lt;input type="hidden" name="transID" value="&lt;? if(isset($values['transID'])){echo $values['transID'];}else{ echo $transID; } ?&gt;" /&gt;
  &lt;input type="hidden" name="transID" value="&lt;? if(isset($values['transID'])){echo $values['transID'];}else{ echo $transID; } ?&gt;" /&gt;
  &lt;input type="hidden" id="pdflink" name="pdflink" value="&lt;? if(isset($values['pdflink'])){echo $values['pdflink'];} ?&gt;" /&gt;
  &lt;input type="button" name="btnSubmit" value="Submit PDF &amp; Payment(s)" onclick="this.disabled" id="btnSubmit" class="col-md-6 btn btn-primary raised" /&gt;
  &lt;/form&gt;
  &lt;script&gt;
  $('#upload').fileupload({
  
  // This element will accept file drag/drop uploading
  autoUpload: true,
  dropZone: $('#drop'),
  limitMultiFileUploads:1,
  maxNumberOfFiles: 1,
  fileInput: $('#upl'),
  url: 'acctfilesupload',
  dataType: 'text',
  
  // This function is called when a file is added to the queue;
  // either via the browse button, or via drag/drop:
  add: function (e, data) {
  
  var tpl = $('&lt;li class="working"&gt;&lt;p&gt;&lt;/p&gt;&lt;/li&gt;');
  
  // Append the file name and file size
  tpl.find('p').text("Submitted File: " + data.files[0].name).append('  &lt;i&gt;' + formatFileSize(data.files[0].size) + '&lt;/i&gt;');
  
  // Add the HTML to the UL element
  data.context = $(ul).html(tpl);
  
  
  // upload the file once it is added to the queue
  $('#btnSubmit').click(function(){
  var jqXHR = data.submit();})
  },
  
  progressall: function (e, data) {
  var progress = parseInt(((data.loaded / data.total * 85)+ 15), 10);
  $('#uploadprogress').css('width', progress + '%').html("&amp;nbsp;&amp;nbsp;Uploaded: " + progress + '%');
      },
  done: function(e, data){
  var r = data.result;
  if (r.lastIndexOf("\\\\FShost\\Accounts", 0) === 0) {
  $('#pdflink').val(r);
  $('#payments').submit();
  } else {
  alert(r);
  $('#btnSubmit').prop('disabled',false);
  $('#uploadprogress').css('width','15%').html("&amp;nbsp;&amp;nbsp;Uploaded: 0%");
  }
  }
  }).bind('fileuploadsubmit', function (e, data) {
  data.formData = {
  name: $('#uploadname').val(),
  memberid: $('#memberidupload').val(),
  transid: $('#acctfilesubID').val(),
  amount: $('#AmountOwed').val()
  };
  });
  
  &lt;/script&gt;
  &lt;/code&gt;
  &lt;/pre&gt;
  </code></pre>