<script language="JavaScript">
function checkPassword(password,confirm)
{
if (password != confirm)
{
window.alert("Passwords don't match.");
return false;
} if (password.length < 6)
{
window.alert("Passwords must be 6 or more characters");
return false;
} return true;
}function checkForm24(formObj)
{
return checkPassword(formObj.myPassword.value,formObj.myConfirm.value);
}
</script><form name="myForm24" action="holder.htm" onSubmit="return checkForm24(this);">
Enter Password:
<input type="password" name="myPassword">
<br>
Confirm Password:
<input type="password" name="myConfirm">
<br>
<input type="submit">
</form></body>
function checkPassword(password,confirm)
{
if (password != confirm)
{
window.alert("Passwords don't match.");
return false;
} if (password.length < 6)
{
window.alert("Passwords must be 6 or more characters");
return false;
} return true;
}function checkForm24(formObj)
{
return checkPassword(formObj.myPassword.value,formObj.myConfirm.value);
}
</script><form name="myForm24" action="holder.htm" onSubmit="return checkForm24(this);">
Enter Password:
<input type="password" name="myPassword">
<br>
Confirm Password:
<input type="password" name="myConfirm">
<br>
<input type="submit">
</form></body>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货