jQuery Text to Link Script?
Posted
by Elijah Manor
on Stack Overflow
See other posts from Stack Overflow
or by Elijah Manor
Published on 2008-10-29T16:29:14Z
Indexed on
2010/04/27
23:23 UTC
Read the original article
Hit count: 360
Does anyone know of a script that can select all text references to URLs and automatically replace them with anchor tags pointing to those locations?
For example:
http://www.google.com
would automatically turn into
<a href="http://www.google.com">http://www.google.com</a>
Note: I am wanting this because I don't want to go through all my content and wrap them with anchor tags.
© Stack Overflow or respective owner