Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

add link to text using span html

var href = jQuery('#linkChange').html();
var link = "<a href='"+href+"' target='_blank'>"+href+"</a>";

jQuery('#linkChange').replaceWith(link);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #link #text #span #html
ADD COMMENT
Topic
Name
7+1 =