I’m trying to emulate the effect Twitter uses on it’s homepage. It displays “Username” and “Password” in both login fields, and then when you start to type it removes the text. I haven’t been successful so far, my best attempt displayed text inside the password field, but displayed it as if a password had been entered.
Is there a JQuery plugin available to do this? I have seen one where it requires two password fields, and displays only one at a time. This isn’t suitable.
you can use a jquery watermark plugin:
http://code.google.com/p/jquery-watermark/