$("#password1\\.info").html("重复密码正确");
flag.password=true;
return
;
}
});
$("#txtVerifyCode").blur(
function
() {
var
verify=$(this).val();
if
(verify==""){
$("#number\\.info").html("验证码不能为空");
return
;
}
$.post("./verify/check.php",{verify:verify},
function
(data){
$("#number\\.info").html(data);
if
(data=="验证成功") {
flag.verify=true;
}
}
);
})
$("#f").submit(
function
(){
var
ok = flag.email&&flag.password&&flag.verify&&flag.nickname;
if
(ok==false){
alert("表单项正在检测或存在错误");
history.back();
return
false;
}
return
true;
});
})
</script>
</head>
<body>
<?php
include
("../common/head.php"); ?>
<div
class
="login_step">
注册步骤
:<span
class
="red_bold">1.填写信息</span> > 2.验证邮箱 > 3.注册成功
</div>
<div
class
="fill_message">
<form name="ctl00" method="post" action="save_reg.php" id="f">
<h2>以下均为必填项</h2>
<table
class
="tab_login" >
<tr>
<td valign="top"
class
="w1">请填写您的 Email 地址:</td>
<td>