Edit type of email validation(dat,email,servicenow,开发技术)

时间:2024-05-07 02:08:33 作者 : 石家庄SEO 分类 : 开发技术
  • TAG :

Edit type of email validation

function validate(value) {
if (value == null || value == ""){
return true;
}
if(value.indexOf(",")!=-1){
var arr=value.split(",");
var msg=[];
for(var j=0;j<arr.length;j++){
if(!isEmailValid(arr[j])){
msg+=arr[j];
if(j!=arr.length-1){
msg+=",";
}
}
}
if(msg.length>0){
return "Invalid email address:"+msg;
}else{
return true;
}
}else{
if (isEmailValid(value)){
return true;
}
else{
return new GwtMessage().getMessage("Invalid email address");
}
}
}

 </div> <div class="zixun-tj-product adv-bottom"></div> </div> </div> <div class="prve-next-news">
本文:Edit type of email validation的详细内容,希望对您有所帮助,信息来源于网络。
上一篇:Linux系统的基本介绍与特点原理下一篇:

4 人围观 / 0 条评论 ↓快速评论↓

(必须)

(必须,保密)

阿狸1 阿狸2 阿狸3 阿狸4 阿狸5 阿狸6 阿狸7 阿狸8 阿狸9 阿狸10 阿狸11 阿狸12 阿狸13 阿狸14 阿狸15 阿狸16 阿狸17 阿狸18