Submit your widget

placeholder carets on inputs and textareas with jQuery

Created 5 years ago   Views 11784   downloads 1945    Author jackrugile
 placeholder carets on inputs and textareas with jQuery
View DemoDownload 18.0 KB
42
Share |

This is a JavaScript plugin that animates placeholder carets on inputs and textareas. The placeholder value will incrementally delete on focus, and restore on blur.we called it Placeholdem .

 

Use It

<!-- add placeholder to input or textarea --/>
<input name="fieldname" placeholder="Placeholder Value" />
// run Placeholdem on all elements with placeholders
Placeholdem( document.querySelectorAll( '[placeholder]' ) );

Read more:https://github.com/jackrugile/placeholdem