secmail邮箱(severail)
网页注册系统怎样使两次密码输入的一样
script language="javascript" function checkSsnAndMail(){if(chkUsername()checkname()checkpass()checkMail()checkAuthInput()doRegFormSubmit()) return true;else return false;} function checkAuthInput(){if(form.AuthInput.value.length1){alert("\请输入验证码 !!");form.AuthInput.focus();return false;} else return true;} function checkname(){if(form.name.value.length1){alert("\请输入正确的昵称 !!");form.name.focus();return false;} else return true;} function checkpass(){if(form.users_pass.value.length6){alert("\请输入正确的密码 !!");form.users_pass.focus();return false;} if(form.users_pass.value!=form.repeat_users_pass.value){alert("\两次输入不一致 !!");form.repeat_users_pass.value='';return false;} else return true;} function chkUsername() { var username =form.users_name.value; if(username=="") { alert("\用户名不能为空 !!"); return false; } else if( /^\d.*$/.test( username ) ){ alert("//用户名不能以数字开头 !!"); return false; } else if(username.length 6 || username.length 18 ){ alert("用户名合法长度为6-18个字符 !!"); return false; } else if(! /^\w+$/.test( username ) ){ alert("用户名只能包含_,英文字母,数字 !!"); return false; } return true; } function doRegFormSubmit(){ if(form.servItems.attr("checked")!= true){ alert("您还没有阅读服务条款!"); return false; } } function checkMail(){var secmail=form.email.value;if(secmail.length==0){alert("\请您输入正确的邮箱地址 !");form.email.focus();return false;} else if(secmail.length8||secmail.length64||!validateEmail(secmail)){alert("\请您输入正确的邮箱地址 !");form.email.focus();return false;} else return true;} function validateEmail(emailStr){var re=/^[\w-.]+(\.*[\w-]+)*@([0-9a-z]+(([0-9a-z]*)|([0-9a-z-]*[0-9a-z]))\.)+[a-z]{2,3}$/i;if(re.test(emailStr)) return true;else return false;} /script form method=post action="?action=process" name="form" autocomplete=off onSubmit="return checkSsnAndMail()" div id="zhuce" div class="075c-0ebc-22ee-ddfc divstyle3 ptop_15"span strong class="0ebc-22ee-ddfc-171b red"*/strong 用户名:/span input type="text" class="22ee-ddfc-171b-2ff7 inputstyle" name="users_name" id="users_name" onblur="xajax_namecheck(document.getElementById('users_name').value)" / p class="ddfc-171b-2ff7-2808 graystyle"4-16位之间,不能全部是数字或下划线。 /p /div div class="171b-2ff7-2808-f31c divstyle3"span strong class="2ff7-2808-f31c-77b9 red"*/strong 邮箱:/span input type="text" class="2808-f31c-77b9-0437 inputstyle" name="email" id="email" onblur="xajax_emailcheck(document.getElementById('email').value)" / /div div class="f31c-77b9-0437-b551 divstyle3"span strong class="77b9-0437-b551-2027 red"*/strong 昵称:/span input type="text" class="0437-b551-2027-0651 inputstyle" name="name" / /div /div div id="zhuce2" div class="b551-2027-0651-0957 zctitle"span安全信息设置/span以下信息很重要,请谨慎填写。/div div class="e79a-79fe-7718-46d0 divstyle3 ptop_15"span strong class="79fe-7718-46d0-075c red"*/strong 密码:/span input class="7718-46d0-075c-0ebc inputstyle" type="password" name="users_pass" //div div class="46d0-075c-0ebc-22ee divstyle3"span strong class="075c-0ebc-22ee-ddfc red"*/strong 再次输入密码:/span input class="0ebc-22ee-ddfc-171b inputstyle" type="password" name="repeat_users_pass" //div div class="22ee-ddfc-171b-2ff7 divstyle3"span strong class="ddfc-171b-2ff7-2808 red"*/strong 用户类型:/span input name="" type="radio" value="" / 普通会员 input name="" type="radio" value="" / 供应商 /div