Making links clickable in Javascript?

Posted by mdorseif on Stack Overflow See other posts from Stack Overflow or by mdorseif
Published on 2010-03-29T05:52:11Z Indexed on 2010/03/29 5:53 UTC
Read the original article Hit count: 193

Is there an simple way of turning a string from

Then go to http:/example.com/ and foo the bar!

into

Then go to <a href="http://example.com">example.com</a> and foo the bar!

in Javascript within an existing HTML page?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about text-parsing