title: Get values from submitted form
body: <p>I have a very simple form:</p>
  
  <pre><code>&lt;form id="toBeTranslatedForm" action="actionpage.php" method="POST" &gt;
          &lt;textarea name="userInput" id="toBeTranslatedTextArea"&gt;&lt;/textarea&gt;
          &lt;select id="translationOptions"&gt;//dynamically filled&lt;/select&gt;
          &lt;input type="submit" value="Translate" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Using Jquery I am detecting whether the form has been submitted:</p>
  
  <pre><code>function outputTranslated()
  {
      $('#toBeTranslatedForm').submit(function() {
          //do stuff
      });
  }
  </code></pre>
  
  <p>How do I get the text typed in the text area and the option selected in the select box from the form above? Ideally I would like to put them into an array.</p>