Creates a URL slug as you type a page title (like Django slugify())
HTML
Latest commit 0beb18e Nov 11, 2015 @pmcelhaney Merge pull request #20 from kshlyk/master
russian translit corrected
Permalink
Failed to load latest commit information.
LICENSE Removed 'Here is the license template' Jan 10, 2014
bower.json Bower support Feb 28, 2015
index.html typo Dec 23, 2011
jquery.slugify.js russian translit corrected Nov 11, 2015
readme.md Updates reamdme to point to madflow Apr 20, 2015

readme.md

jQuery Slugify

Update

Please have a look at Madflow's implementation of jQuery Slugify. It's a more mature and active project. In theory, you should be able to drop in and replace the code. Please let us know how it goes.

About this version

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