Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated the example code.

  • Loading branch information...
commit 8e16cc6f657e91957f588497e645bb7a536c5b94 1 parent 494ee4a
Filip Stefansson authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 README.md
8 README.md
View
@@ -11,12 +11,18 @@ Import jquery.auto-placeholders.js
If you want the placeholder to look like a real placeholder you should also add this CSS:
-```ruby
+```css
.placeholder {
color: darkGrey;
}
```
+And then you can use this on any HTML element:
+
+```javascript
+$("#example_form").autoPlaceholders()
+```
+
## Dependencies
* Tested against jQuery 1.7.1
Please sign in to comment.
Something went wrong with that request. Please try again.