Adding Hyperlink to text in JQuery -
i using innertext add text object. there easy way add hyperlink text? 'trend' has attribute called 'link'.
this.node.innertext = trend.get('value');
you need add dom element using jquery's wrap():
$(this).wrap('<a href="..." />');
Comments
Post a Comment