//Check Email Format
function CheckEmail(theform)
{
email=theform.rs_email.value;
if(email=="")
{
alert("邮箱地址不能为空!");
theform.rs_email.focus();
return false;
}
else
{
   var re = /^[\w.-]+@([0-9a-z][\w-]+\.)+[a-z]{2,3}$/i;  

    if(re.test(email))
    {
        return true;
    }
    else
    {
  alert("邮箱地址格式不正确!");
  theform.rs_email.focus();
        return false;
    }
}
}

相关文章:

  • 2021-10-02
  • 2021-11-21
  • 2022-01-19
  • 2022-02-09
  • 2022-12-23
  • 2021-12-02
  • 2022-01-20
猜你喜欢
  • 2021-11-25
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2022-01-21
相关资源
相似解决方案