Edible text box


(Stephan) #1

Hi Guys

I want to add a text box with content but it should be editable. How can I get that right?


#2

HI Stephan (@StephanZA)

Do you mean you want the user to be able to edit the contents of the text box?

You can use a function on Mouse Click that makes the box content editable:

element.contentEditable = true;

Here is an example

basicContentEditable.zip (21.4 KB)