|
|
@ -128,6 +128,11 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$mail.blur(function (event) {
|
|
|
|
$mail.blur(function (event) {
|
|
|
|
|
|
|
|
if (/^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/.test(this.value) == false){
|
|
|
|
|
|
|
|
$('#mail_req').html( '<span style="color: red">邮件格式不对</span>').show();
|
|
|
|
|
|
|
|
$mail_correct = false;
|
|
|
|
|
|
|
|
return ;
|
|
|
|
|
|
|
|
}
|
|
|
|
if ($(this).is('#user_mail')) {
|
|
|
|
if ($(this).is('#user_mail')) {
|
|
|
|
$.get('<%=account_valid_ajax_path%>',
|
|
|
|
$.get('<%=account_valid_ajax_path%>',
|
|
|
|
{ valid: "mail",
|
|
|
|
{ valid: "mail",
|
|
|
|