7 { 8 alert("请输入格式正确的 e-mail 地址!"); 9 var email = document.getElementById ( "mailaddress" ); 10 email.value = ""; 11 email.focus (); 12 } 13 else 14 { 15 QuickRegisterBox.IsEMailExists(e, CheckExists_Callback); 16 } 17 } 18 }...
验证Email格式的主要代码如下: public bool IsEmail(string str_Email) { return System.Text.RegularExpressions.Regex.IsMatch(str_Email, @"^([/w-/.]+)@((/[[0-9]{1,3}/.[0-9] {1,3}/.[0-9]{1,3}/.)|(([/w-]+/.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(/)?]$"); } 验...
alert("请输入格式正确的 e-mail 地址!"); 9 varemail=document.getElementById ("mailaddress"); 10 email.value=""; 11 email.focus (); 12 } 13 else 14 { 15 QuickRegisterBox.IsEMailExists(e, CheckExists_Callback); 16 } 17 } 18
alert("请输入格式正确的 e-mail 地址!"); 9 varemail=document.getElementById ("mailaddress"); 10 email.value=""; 11 email.focus (); 12 } 13 else 14 { 15 QuickRegisterBox.IsEMailExists(e, CheckExists_Callback); 16 } 17 } 18 }...