|
I am wondering how when I use Javascript to add text to a textarea, to place the cursor where I want it.
Say I add the text .
I don't want the cursor to go at the end of the tags.
I want it to pop up in betweent he two tags.
How would I code the function to place the cursor there after the user clicks on a button that executes the javascript code.
|
|
|
|
|
|
|
|