[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Password values



> I have been havig trouble accessing the value field of a password object.
> The page prompts the user to create a password, and asks him to enter it
> twice. It then compares them to make sure that he entered the password the
> same way in both fields. The code is below:
> 
> function check() {
>         if ( document.register.pass.value !=
> document.register.password.pass2.value ) {
>                 alert("Your passwords don't match");
>                 document.register.pass.value = "";
>                 document.register.pass2.value = "";
>         }
> }
>
I have had the same problem. In fact I finally gave up. I have not tried this
but perhapes it only allows access to this field on secure connections. 
Which a local connection is not. Anybody got a clue?

John
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/