Hi everyone,
I m trying to add a word into a text box with the onclick function.
For now the word is added at the end of the text
$w("#button).onClick(()=>{
$w(text).value= $w(text).value+“theWordToAdd”
})
I would like “theWordToAdd” to appear where the mouse is located into the text.
i try with “+=” but didn’t make it
If you have an idea
Thank you !!
Use the property “text” not “value”