hyperlink in span code example
Example 1: add link to text using span html
<script type="text/javascript">
$(document).ready(function(){
$('td span').each(function(){
$(this).html("<a href='" + $(this).html() + "' />" +
$(this).html() + "</a>");
});
});
</script>
Example 2: add link to text using span html
<script type="text/javascript">
$('.convertableIdentifier').each(function(i, el) {
var url = $(el).html();
var newNode = $('<a></a>').attr('href', url).attr('target', '_blank').html(url);
$(el).replaceWith(newNode);
});
</script>