This jQuery plug-in adds HTML5's placeholder attributre support to browsers that do not support it. Just use the placeholder attribute as you should, and then call the plug-in on any selected inputs with the placeholder attribute set.
Check out the code.
Work by Jeff Doppke, like this? Check out more here.