Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rewrote readme and converted to Markdown

  • Loading branch information...
commit 79133a1bdfd3ac80d500d661a722b85c03a01da3 1 parent 04354ee
@pmcelhaney authored
Showing with 16 additions and 8 deletions.
  1. +16 −0 readme.md
  2. +0 −8 readme.txt
View
16 readme.md
@@ -0,0 +1,16 @@
+A jQuery plugin to create a URL slug as you type a page title (like Django slugify())
+
+Say you have form that looks like this:
+
+ <label for="title">Title, e.g. "My Cool Blog Post"</label>
+ <input type="text" name="title" id="title">
+ ...
+
+ <label for="slug">Slug, e.g. "my-cool-blog-post"</label>
+ <input type="text" name="slug" id="slug">
+
+Use slugify() to automatically fill out the slug field as the user types a title.
+
+ $('#slug').slugify('#title');
+
+More docs and live examples at http://patrickmcelhaney.com/jQuery-Slugify-Plugin
View
8 readme.txt
@@ -1,8 +0,0 @@
-JQuery plugin to create a URL slug as you type a page title (like Django slugify())
-
-Usage:
-
- $('.target-of-slug').slugify('input#title');
-
-
-See docs and examples at http://patrickmcelhaney.com/jQuery-Slugify-Plugin
Please sign in to comment.
Something went wrong with that request. Please try again.