8
People would like to know how to do an action on a selected text in the textarea, for example I selected the word 'hi' and when I click a button with Onlick, change the text to 'bye''.
I await the answer, because I am all day looking and do not find. I thank you for your attention.
Po guy saved me, you have no idea when I was looking for this, was doing test with the . select(), but nothing. Thank you very much.
– Romario Pires