adamsoderqvist
Programmer
Is there a way of inserting text snippets into a HTML text area?
Lets say I have a <textarea></textarea> html code in my web site document and want the user to be able to click a button and that way be able to insert a text snippet.
Example:
Maybe the user want to insert a predefined text on the spot in the textarea where the cursor is. What would the code be?
Tricky one...
Lets say I have a <textarea></textarea> html code in my web site document and want the user to be able to click a button and that way be able to insert a text snippet.
Example:
Maybe the user want to insert a predefined text on the spot in the textarea where the cursor is. What would the code be?
Tricky one...