1<script type="text/javascript">
2
3 $('.convertableIdentifier').each(function(i, el) {
4
5 // grab the url and the link text
6 var url = $(el).html();
7
8 // create a new node with query by decorating a
9 // empty a tag
10 var newNode = $('<a></a>').attr('href', url).attr('target', '_blank').html(url);
11
12 // replace the current node with our new node
13 $(el).replaceWith(newNode);
14
15 });
16
17</script>
1<script type="text/javascript">
2 $(document).ready(function(){
3 $('td span').each(function(){
4 $(this).html("<a href='" + $(this).html() + "' />" +
5 $(this).html() + "</a>");
6 });
7 });
8</script>
1<a href="http://www.domain.com/about" target="_blank">http://www.domain.com/about</a>
1var href = jQuery('#linkChange').html();
2var link = "<a href='"+href+"' target='_blank'>"+href+"</a>";
3
4jQuery('#linkChange').replaceWith(link);