Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent 440eab2 commit c27895e7a87775618e72991ff8393ed4d7206563 @snikch committed Mar 14, 2013
Showing with 13 additions and 0 deletions.
  1. +13 −0 README.md
View
@@ -10,5 +10,18 @@ Extra attention has been paid to make sure that elements behave correctly when u
* Programmatically changing a placeholder element with .val('string') will remove the placeholder class
* With .placeholder({preventRefreshIssues:true}) a placeholder will be assigned autocomplete="off" to prevent browsers from filling an element with the placeholder text on refresh
+
+## Usage
+
+```javascript
+$(function(){
+ $('input[placeholder], textarea[placeholder]').placeholder();
+});
+```
+
+Easy.
+
+## Note
+
Initially forked from https://github.com/andrewrjones/jquery-placeholder-plugin/downloads

0 comments on commit c27895e

Please sign in to comment.