export function button1_click(event, $w) {
let textbody = ‘HTTP <a href=“http://wix.com” target=“_blank”; >Link within text’;
$w(‘#text1’).html = textbody;}
I did above code and it works very good with a hyerlink inside a text. However, when I click the button second time, the hyerlink didn’t work. After I come back from other page and click the button again, it works. ??? Anyone know why the hyerlink didn’t work after click the button second time?