jQuery.ajax - submit all elements in form without manually entering them
<p>I would like to use jQuery.ajax to submit a form using POST without having to specify everything manually in the "data: " part.</p>

<p>This is what I don't want: </p>

<pre><code>data:   "username=" + document.getElementById("username").value + 
    "&amp;email=" + document.getElementById("email").value,
</code></pre>

<p>Is there a way to just have it include alla elements with their values from an entire FORM field? This form is generated dynamically so it would save me a lot of time!</p>
