php - jQuery to database - registration form with validation -


i find tutorial in 9lessons.com : http://www.9lessons.info/2011/01/gravity-registration-form-with-jquery.html

it's registration form validation.

enter image description here

i want send data db.

// submit button action $('#submit').click(function() {     var email=$("#email").val();     var username=$("#username").val();     var password=$("#password").val();     if(ck_email.test(email) && ck_username.test(username) && ck_password.test(password) )         {             $("#form").show().html("<h1>thank you!</h1>");                     /////   if ok                     /////       show                     ////    else                     ////        error, try again         }     return false; }); 

how can ?? searched in internet in jquery tutorial , find codes ...

this tutorial walk entire process: http://net.tutsplus.com/tutorials/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/

it implements jquery.post , calls php script allow process data.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -