$w.onReady(function () {}); export function button1_click(event) { let myValue = $w('#input1').value let fullText = $w('#text1').text let shortText = fullText.substr(0, myValue) + "..."; $w('#text2').text = shortText }
top of page
Image by James

Bold Title

bottom of page