jQuery to database - registration form with validation
<p>I find this tutorial in 9lessons.com : <a href="http://www.9lessons.info/2011/01/gravity-registration-form-with-jquery.html" rel="nofollow">http://www.9lessons.info/2011/01/gravity-registration-form-with-jquery.html</a></p>

<p>It's about a registration form with validation.</p>

<p><img src="http://i.stack.imgur.com/FAaXS.gif" alt="enter image description here"></p>

<p>I want to send data to DB.</p>

<pre><code>// Submit button action
$('#submit').click(function()
{
    var email=$("#email").val();
    var username=$("#username").val();
    var password=$("#password").val();
    if(ck_email.test(email) &amp;&amp; ck_username.test(username) &amp;&amp; ck_password.test(password) )
        {
            $("#form").show().html("&lt;h1&gt;Thank you!&lt;/h1&gt;");
                    /////   if OK
                    /////       Show thanks
                    ////    else
                    ////        Error, try again
        }
    return false;
});
</code></pre>

<p>How can I do ?? I searched in internet in jQuery tutorial and I find much codes ... </p>
