function checkPassConfirm(str)
{
if (str.length<=5)
{
document.getElementById("passMatchHint").innerHTML=""
return
}
else if (document.getElementById("password").value != str)
{
document.getElementById("passMatchHint").innerHTML="pass not match"
return
}
else if (document.getElementById("password").value == str)
{
document.getElementById("passMatchHint").innerHTML='<font color="green">Passwords match!</font>'
return
}
}
Под firefox-a бачка на 6... :?