What do you all use to support placeholder attributes in browsers?
Currently, am using:
https://github.com/mathiasbynens/Placeholder-jQuery-Plugin
Ha
There are quite a few polyfill scripts for the placeholder attribute. Here's one that seems to work well.
Just remember to call $('input, textarea').placeholder(); in your JS code, and possibly add a CSS rule, eg. .placeholder { color: #aaa }.
$('input, textarea').placeholder();
.placeholder { color: #aaa }