Check out the HTML5 Placeholder jQuery Plugin project page on GitHub - Modified for ancient jQuery support.
$(function() { $('input, textarea').placeholder();});