given this markup:
<div class="myclass">
Lorem ipsum dolor sit amet, http://example.com consectetuer adipiscing elit.
</div>
I need a jQuery function, which (after the dom ready event) finds all .myclass divs and transforms the strings which starts with http(s):// into links, so that the above example markup results in this:
<div class="myclass">
Lorem ipsum dolor sit amet, <a href="http://example.com">http://example.com</a> consectetuer adipiscing elit.
</div>
Can you help?
Thanks sub