Hello,
I am new to Wix and not a coder either.
I am trying to run a for loop that would print out every count result to a text box with a new line break, but I’m not able to get it done.
below is my code.
I appreciate any help, guidance, or another approach to achieve this.
Thank you.
Thank you so much for your help russian-dima. I have one more ask, so I modified the script to be below.
However, the result has this “” after every new line. How can I get rid of it ?
export function button4_click(event) {
// This function was added from the Properties & Events panel. To learn more, visit Velo: Working with the Properties & Events Panel | Help Center | Wix.com
// Add your code for this event here: var myText = “”
$w.onReady( function () {
xxx()
});
$w( ‘#text152’ ).text = “” function xxx(){ for ( var a = 0 ; a < 10 ; a++) {