it's so simple read this tutorial , google "ajax form validation" and click the jqueryfordesigners link.
Send the server the email address. Use a SELECT statement (in the server) to query the database. One or more rows returned indicates that the email address exists in the database. (Depending on what you're doing, more than one row may indicate a potential problem.)