How turn text links into HTML links at the client side with javascript

Posted by xRobot on Stack Overflow See other posts from Stack Overflow or by xRobot
Published on 2010-05-30T08:14:20Z Indexed on 2010/05/30 8:22 UTC
Read the original article Hit count: 162

Filed under:
|
|
|
|

In my db I have saved every links in the form:

www.example.com or http://www.example.com

Is there a way to turn this text links into HTML links at the client side ( e.g. javascript ) with tag and parameter like this ?:

<a href="http://www.example.com" rel="nofollow">www.example.com</a>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery