Create SEO friendly URLs (or just slugs) in JavaScript
jQuery SEO URL is a simple plugin which can be used to generate seo friendly urls or slugs based on the content of a string.
var options = { 'translitarate': true, 'uppercase': false, "lowercase": false, "divider": '-' } var text = $('#field').val(); var result = text.seoURL(options);
Simple URL cleanup, with to lowercase
See it inaction (transliterate): Currently supported languages: German, French and Polish
© 2013 SpiderSoft