| 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>
<TD align=right width= "15%" ><strong> username:</strong></td>
<TD width= "57%" ><input id= "username" onblur= "Chkusername" (This)
Name= "username" >
<span id= "Username_notice" >*</span></td>
</tr>
<tr>
<TD align=right><strong>email:</strong></td>
<td><input id= "Email" onblur= "checkemail (This)" name= "Email" >
<span Id=email_notice >*</span></td>
</tr>
<tr>
<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>
<TD align=right><strong> Password Strength:</strong></td>
<td><table cellspacing=0 cellpadding=1 width=145 border=0>
<tbody>
<tr align=middle>
<TD id=pwd_lower width= "33%" > Weak </td>
<TD id=pwd_middle width= "33%" > </td>
<TD id=pwd_high width= "33%" > Strong </td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<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>
<TD align=right><strong>msn:</strong></td>
<td><input name=other[msn]> </td>
</tr>
<tr>
<TD align=right><strong>qq:</strong></td>
<td><input name=other[qq]> </td>
</tr>
<tr>
<TD align=right><strong> Office Phone:</strong></td>
<td><input name=other[office_phone]> </td>
</tr>
<tr>
<TD align=right><strong> Home Phone:</strong></td>
<td><input name=other[home_phone]> </td>
</tr>
<tr>
<TD align=right><strong> Mobile:</strong></td>
<td><input name=other[mobile_phone]> </td>
</tr>
<tr>
<td> </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>
<TD ><input Type=hidden Value=act_register name=act></td>
<TD ><input type=submit value= Confirm Registration Name= "Submit1" class= "Anniu" disabled></td>
</tr>
<tr>
<TD colspan=2> </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/