12-29-2023 15:00 - edited 12-29-2023 15:04
12-29-2023 15:00 - edited 12-29-2023 15:04
in my index.js file I have made a reference to my text in my index.view, SpeechBox, and I'm trying to change the text of the element with the JavaScript, SpeechBox.text = "some text" and I'm trying to use the new line, \n, but whenever I do it shows up as some weird character on my versa 3 and doesn't go onto a new line
image of what i mean (what is shown on versa 3)
I apologise if it is hard to understand what I'm asking here, I'm really bad at explaining things
Answered! Go to the Best Answer.
12-29-2023 16:12
12-29-2023 16:12
Ensure that you're using <textarea> rather than <text>. Even so, I've had problems with \n
12-29-2023 16:12
12-29-2023 16:12
Ensure that you're using <textarea> rather than <text>. Even so, I've had problems with \n
12-29-2023 20:26
12-29-2023 20:26
Hi @Itsbailey - try using " " in place of "\n". Works in some places.
Author | ch, passion for improvement.