manaSlug is a neat and small jquery plugin for making slugable input in a form
manaSlug Plugin is less than ~1kb
- manaSlug generate slug from unicode string, URL-friendly slugify with multiple languages support.
Requires : JQuery
- First download package manaSlug.js or manaSlug.min.js
- Then put Jquery and manaSlug.js file into your html Head
- use plug in
- Also You can see examples in examples folder
Add jquery and mana slug js to document
<script src="src/jquery.min.js"></script>
<script src="src/manaSlug.js"></script>
<input type="text" id="slug_tmp2" name="slug_tmp2" >
<script>
$(function(){
$('#slug_tmp2').manaSlug({input_name:'slug2'});
});
</script>
Afshin Akhgar , afshin@akhgar.net
The source files are distributed under the The MIT License (MIT).