Ajax User Registration Verification

Source: Internet
Author: User
The code is as follows Copy Code
<meta http-equiv= "Content-type" content= "text/html; CHARSET=GBK ">
<title>ajax User Registration </title> Inspection
<link href= "style.css Tutorial" rel= "stylesheet" type= "Text/css" >
<script language= "Web Effects" type= "Text/javascript" src= "From_ck.js" ></script>
<body>
<div id= "Reg" >
<form name= "Formuser" onsubmit= "return Register ();" action=user.php
Method=post>
<br>
<table width= "100%" Align=center border=0>
<tbody>
<tr>
&LT;TD align=right width= "15%" ><strong> username:</strong></td>
&LT;TD width= "57%" ><input id= "username" onblur= "Chkusername" (This)
Name= "username" >
<span id= "Username_notice" >*</span></td>
</tr>
<tr>
&LT;TD align=right><strong>email:</strong></td>
<td><input id= "Email" onblur= "checkemail (This)" name= "Email" >
<span Id=email_notice >*</span></td>
</tr>
<tr>
&LT;TD align=right><strong> Password:</strong></td>
<td><input id= "Password" onblur= "Check_password (This)"
Onkeyup= "Checkintensity (this.value)" type= "password" name= "password" >
<span
Id=password_notice >*</span></td>
</tr>
<tr>
&LT;TD align=right><strong> Password Strength:</strong></td>
<td><table cellspacing=0 cellpadding=1 width=145 border=0>
<tbody>
<tr align=middle>
&LT;TD id=pwd_lower width= "33%" > Weak </td>
&LT;TD id=pwd_middle width= "33%" > </td>
&LT;TD id=pwd_high width= "33%" > Strong </td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
&LT;TD align=right><strong> Confirm Password:</strong></td>
<td><input id= "Conform_password" onblur= "Check_conform_password (This)"
type= "Password" name= "Confirm_password" >
<span Id=conform_password_notice >*</span></td>
</tr>
<tr>
&LT;TD align=right><strong>msn:</strong></td>
<td><input name=other[msn]> </td>
</tr>
<tr>
&LT;TD align=right><strong>qq:</strong></td>
<td><input name=other[qq]> </td>
</tr>
<tr>
&LT;TD align=right><strong> Office Phone:</strong></td>
<td><input name=other[office_phone]> </td>
</tr>
<tr>
&LT;TD align=right><strong> Home Phone:</strong></td>
<td><input name=other[home_phone]> </td>
</tr>
<tr>
&LT;TD align=right><strong> Mobile:</strong></td>
<td><input name=other[mobile_phone]> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td><label>
<input type= "checkbox" Checked value= "1" name= "agreement" onblur= "Check_agreement" (This) >
<b> I have read and accepted "<a href=" # "> User Agreement </a>" <span Id=agreement_notice >*</span></b></ Label></td>
</tr>
<tr>
&LT;TD ><input Type=hidden Value=act_register name=act></td>
&LT;TD ><input type=submit value= Confirm Registration &nbsp;&nbsp;&nbsp; Name= "Submit1" class= "Anniu" disabled></td>
</tr>
<tr>
&LT;TD colspan=2>&nbsp;</td>
</tr>
</tbody>
</table>
</form>
</div>
</body>

SOURCE Download Address
Http://down.111cn.net/down/code/js/2010/0904/20636.html
Effect Preview Address
http://g.111cn.net/javascript/code/20100904/ajax/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.