jQuery - field entry - how to duplicate and convert to seo friendly url

Posted by Binyamin on Stack Overflow See other posts from Stack Overflow or by Binyamin
Published on 2010-05-31T16:33:48Z Indexed on 2010/05/31 17:03 UTC
Read the original article Hit count: 233

Filed under:
|
|
|

I have two HTML input fields 'article' and 'url'.
How to duplicate field 'article' entry to field 'url' to SEO friendly link!?
'url' allowed symbols 'a-z' (capital letters converted to lowercase),
'url' space symbol replace with dash '-',
'url' other symbols ignored.

required typing just in field 'article'
<input type="text" name="article">
url field is jquery auto generated and updated by field article value
<input type="text" name="url">

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery