Hi again!
Let's suppose that we have a text box and a button in an HTML page. I want to do the following: When the button is clicked, a certain string (let's say 'Hello') will appear in the text box, but at the current location of the text cursor, and without deleting any previously entered text. For example, if the content of the text box is 'Hi |all' - where the bar '|' represents the text cursor - the content should become 'Hi Helloall', after pressing the button. Tough, isn't it? Again, any help is highly appreciable.
Let's suppose that we have a text box and a button in an HTML page. I want to do the following: When the button is clicked, a certain string (let's say 'Hello') will appear in the text box, but at the current location of the text cursor, and without deleting any previously entered text. For example, if the content of the text box is 'Hi |all' - where the bar '|' represents the text cursor - the content should become 'Hi Helloall', after pressing the button. Tough, isn't it? Again, any help is highly appreciable.