Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 598 Bytes

README.markdown

File metadata and controls

13 lines (9 loc) · 598 Bytes

jquery.placeholderlabels

This is yet another placeholder plugin. It works similarly to tumblr's, and is a total rip off of this: http://jsfiddle.net/mrcoles/Kwsts/

I needed slight variations. This is the result.

Thanks to Peter Coles (http://mrcoles.com/blog/persistent-placeholders-tutorial-focus/)

jQuery Usage

Including the js file in an html document will automatically apply to any input/textarea which has a placeholder attribute specified.

Angular Usage

Include module 'placeholderlabels' in your app.js Include jQuery, and all of the placeholder labels js files in your project.