<スクリプト> function checkStrength(){ var stength=document.getElementById("strength"); var psw1=documet.getElementById("psw1").value; var length=psw1.length; if(length>=1&&lengthStrength.inner.HTML="弱"; }if(length>=3&&length<6){ Strength.inner.HTML="中"; }else{ Strength.inner.HTML="强"; }
} function checkPSW(){ var psw1=document.getElementById("psw1").value; var psw2=document.getElementById("psw2").value; var pswInfo=document.getElementById("pswInfo"); if(psw1!=psw2){ pswInfo.innerHTML='次输入的密码必须一致'; }
} function reg(){
var username=document.getElementById("User").value; var email=document.getElementById("email").value;