I've done this before once or twice, but for the life of me can't
figure out how or where, so here goes:

I'd like to display some text in an input type="password" box for a
login form. Once the user begins to type in their password, it should
revert to the normal behavior of replacing the text with stars.

In other words, right now I have a form where the value of the
username field is "username" and the value of the password field is
"password" This second field, though, shows up as stars as it is a
password field. I have some _javascript_ that clears the value of the
username field onFocus so the user can enter their username. I'd like
to do the same with the password field.

I have some gmail invites left if anyone is interested and can help me
jog my memory :-)

Thanks,

Matt
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to