This version is old school, check out the latest version.

jQuery.divPlaceholder.js

by Spruce Media

A mostly-CSS-with-a-bit-of-jQuery micro-plugin to emulate the placeholder attribute for contenteditable divs. The placeholder text cosmetically resembles an input’s placeholder. All markup used is valid. The placeholder text does not appear in the DOM. The placeholder text disappears when the `div` contains any text or when it has input focus.


Versions

Version Date
0.1.1 Feb 8 2013
0.1.0 Jan 30 2013