Instead of having labels placed above the input fields, I'd like to have them inside the inputs, as hint-texts, that is cleared when input received focus, and restored if input is empty when focus is lost.

I can do this using some jQuery, but I wan't to hear if anyone knows of a ready solution in the form of a plugin, a script snippet, or some feature I'm not aware of?