jQuery Input Placeholders
A jQuery plugin to add placeholders to form input elements. Webkit provides these functionality natively, this plugin adds this to all browsers.
If you want placeholders that don't disappear on focus, you might want to checkout my Inline Labels Plugin instead.
Add this to the HEAD of the document (after you include jQuery, of course):
Just add the placeholder to inputs and the plugin will autoload if needed, depending on browser support. If you need to manually activate the plugin on specific elements that you dynamically add to the DOM, just call
demo.html for an example.
Written by Mark Dodwell (@madeofcode)