Skip to main content
jQuery Logo
This version is old school. Please find jQuery plugins on npm.

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 08, 2013
Jan 30, 2013

GitHub Activity

32
Watchers
4
Forks

Maintainers

Plugin Maintainer Craig Stuntz

Licenses

Dependencies

  • jquery >=1.7