title: Pass extra variable when submitting a form using jQuery
body: <p>I have a form in which the Submit button does not sit within the <code>&lt;form&gt;</code> tags. The submit button has an <code>click</code> handler to submit the form via jQuery's <code>submit()</code> event. This works perfectly.</p>
  
  <p>However, I need the value of the Submit button to be POST'ed as well. Since the button does not exist within the <code>&lt;form&gt;</code> tags, it is not included in the POST array. Therefore, I need to engineer a way to pass an extra variable when the form is submitted.</p>
  
  <p>Some stipulations on what cannot happen to achieve this include:</p>
  
  <ul>
  <li>The Submit button cannot be moved within the <code>&lt;form&gt;</code> tags.</li>
  <li>It cannot use the jQuery <code>ajax</code>, <code>post</code>, or <code>get</code> methods.</li>
  <li>It cannot have hidden <code>input</code> fields or submit buttons hidden by CSS.</li>
  <li>The form must act exactly as if there was a normal Submit button in the form.</li>
  </ul>
  
  <p>I envisioned something like, but obviously this does not work.</p>
  
  <pre><code>$('#admin_form').submit({'variable_name', 'true'});
  </code></pre>
  
  <p>Anybody have any ideas on how I could achieve this?</p>