Properties

Property Type Description
divider string String separator between words. Defaults to '-'
id string ID of HTML input (Required)
transliterate boolean Whether to apply the transliteration. Defaults to false

What do you need?

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="jquery.friendurl.js"></script>

Example 1

<script type="text/javascript">
$(function(){
	$('#title1').friendurl({id : 'link1'});
});
</script>



Example 2

<script type="text/javascript">
$(function(){
	$('#title2').friendurl({id : 'link2', divider: '_'});
});
</script>



Example 3

In version 1.5 the transliterate parameter was introduced.

<script type="text/javascript">
$(function(){
	$('#title3').friendurl({id : 'link3', divider: '_', transliterate: true});
});
</script>