jQuery <input> watermark that stays when focused

jquery, watermark

Solution

This plugin will retain the watermark when the input is focused, although it will hide on any keypress (even Ctrl).

Problem

I have some `<input>`s on my form, and I would like to watermark them with field labels. There are already myriad watermarking plugins, but best as I can tell they all clear the watermark when the `<input>` is focused, even if there's nothing entered. What I'd like, ideally, is something that would continue to display until the user typed something in, focused or not. Does anyone know of a plugin that does this already, or know of a code sample that might help guide my way?

Original source