215 Posts
cubist
8 years ago
0
Topic

Hey Fellow Sebloders

I have created a check box field which I would prefer each one be a link to another page WHEN rendered. It looks like there is a feature called Custom Attributes which may be helpful, but not sure if it would solve the problem. If I remember right this is still in flux and may be used later. You can see my lists under Plans and Therapeutic Specialties for each person

I did try this per a Stack Overflow post.

This is the JQuery code to replace text with a link, but not getting a result

$('body *').each(function(){ var txt = $(this).text();

txt = txt.replace('laptop', '<a href="http://test.com/laptop">laptop</a>');

$(this).html(txt); });

Any contributions appreciated.

Get a VIP membership