register.html
<!DOCTYPE html>
<html>
<head>
<title>用ajax做登陆页面</title>
<meta charset='utf-8'>
<link rel='stylesheet' href='layout.css'>
</head>
<body>
<div class="wraper">
<div id='login'>
<ul>
<li><input type='text' name='username' id='username' placeholder='用户名'><span id='user'></span></li>
<li><input type='password' name='password' id='password' placeholder='密码'><span id='passw'></span></li>
<li><input type='password' name='repassword' id='repassword' placeholder='密码'><span id='repassw'></span></li>
<li><input type='text' name='email' id='email' placeholder='邮箱'><span id='mail'></span></li>
<li><input type="text" name="validate" id="validate" size=10 placeholder='验证码'><span id='code'></span>
</br><img title