summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneilmonroe <neil.monroe@gmail.com>2009-03-20 15:18:40 -0700
committerneilmonroe <neil.monroe@gmail.com>2009-03-20 15:18:40 -0700
commit8595a49058e115f40c94f721fe4d305f08cae5e1 (patch)
tree7aac2f397aad8ea742e892ba0bad9a3e1ddc2a59
parent3e643a9a95905eb622173bf1cb3ec07436465257 (diff)
downloadjquery-countable-8595a49058e115f40c94f721fe4d305f08cae5e1.zip
jquery-countable-8595a49058e115f40c94f721fe4d305f08cae5e1.tar.gz
jquery-countable-8595a49058e115f40c94f721fe4d305f08cae5e1.tar.bz2
Update markdown formatting (last time).
-rw-r--r--README.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index e313dd1..95ebe88 100644
--- a/README.markdown
+++ b/README.markdown
@@ -23,12 +23,15 @@ The countable plugin has 12 settings:
## Examples
Add counter to all textarea objects on the page using defaults:
+
$("textarea").countable();
Add counters to a specific set of text fields, before each element:
+
$("#myTextBox, textarea.info").countable({ appendMethod: "insertBefore" });
Add counter to a specific textarea, but display in a given container element (with other advanced options):
+
$("#comments").each(function() {
$(this).countable({
threshold: .75,