<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改密码 </title>
<script language="JavaScript">function isValid(){
conForm=true;
if(document.change.user.value.length==0){
conForm=false;
window.alert('必须输入帐号才能完成登陆!');
document.change.elements(0).focus();
return false;}
else if(document.change.pwd1.value.length==0){
conForm=false;
window.alert('必须输入原密码');
doucument.change.elements(1).focus();
return false;}
else if(document.change.pwd2.value.length==0){window.alert('必须输入现在的密码');
doucument.change.elements(2).focus();
return false;}
else if(document.change.pwd2.value != document.change.pwd3.value){
document.change.pwd3.value="";
window.alert('两次输入的密码不一样');
doucument.change.elements(3).focus();
return false;
}
return true;
}
</script>
</head>
<body onLoad="document.change.user.focus();" bgcolor="#0099FF" background="tj1.jpg"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<form name="change" method="post" id="ppp" action="changekeyword.jsp">
<p align="center">帐 户:
<input type="text" name="user">
</p>
<p align="center">原始密码: <input type="password" name="pwd1">
</p>
<p align="center">密 码:
<input type="password" name="pwd2">
</p>
<p align="center">确认密码:
<input type="password" name="pwd3">
</p>
<p align="center"><input type="button" name="ok" onClick="if(isValid()) document.getElementById('ppp').submit();" value="提交" >
<input type="reset" name="reset" value="重置">
</p>
</form>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改密码 </title>
<script language="JavaScript">function isValid(){
conForm=true;
if(document.change.user.value.length==0){
conForm=false;
window.alert('必须输入帐号才能完成登陆!');
document.change.elements(0).focus();
return false;}
else if(document.change.pwd1.value.length==0){
conForm=false;
window.alert('必须输入原密码');
doucument.change.elements(1).focus();
return false;}
else if(document.change.pwd2.value.length==0){window.alert('必须输入现在的密码');
doucument.change.elements(2).focus();
return false;}
else if(document.change.pwd2.value != document.change.pwd3.value){
document.change.pwd3.value="";
window.alert('两次输入的密码不一样');
doucument.change.elements(3).focus();
return false;
}
return true;
}
</script>
</head>
<body onLoad="document.change.user.focus();" bgcolor="#0099FF" background="tj1.jpg"><p> </p>
<p> </p>
<p> </p>
<p> </p>
<form name="change" method="post" id="ppp" action="changekeyword.jsp">
<p align="center">帐 户:
<input type="text" name="user">
</p>
<p align="center">原始密码: <input type="password" name="pwd1">
</p>
<p align="center">密 码:
<input type="password" name="pwd2">
</p>
<p align="center">确认密码:
<input type="password" name="pwd3">
</p>
<p align="center"><input type="button" name="ok" onClick="if(isValid()) document.getElementById('ppp').submit();" value="提交" >
<input type="reset" name="reset" value="重置">
</p>
</form>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货