get a forms values via jquery, post to a php script, and have php script process for errors and return value
<p>I have this form:</p>

<pre><code>&lt;form action= 'addperm.php' class = 'addperm' method='post'&gt;
    &lt;input type='text' name='user' /&gt;&lt;br /&gt;
    &lt;input type='radio' name='perm' value='1' CHECKED /&gt; Can view only&lt;br /&gt;
&lt;input type='radio' name='perm' value='2' /&gt; Can make changes &lt;br /&gt;
&lt;input type='submit' value='Add'&gt;
&lt;/form&gt;
</code></pre>

<p>I want to know how, without redirecting to another page, I can get these two input values (user and perm), post them to a php script via ajax, and then have the php return the results</p>
