I have an input textfield which users can add text to original, and also select portions of the text. But I want the users to be able to select text, then when the text is still selected, click on a button to copy selected text into another textfield.
The problem arises when clicking on the button, the focus changes and therefore I lose track of which parts of the text was selected.
So the solution is a way that selected text is remembered before losing focus.
Any ideas?
A computer always does what you tell it to, but rarely does what you want it to.....
The problem arises when clicking on the button, the focus changes and therefore I lose track of which parts of the text was selected.
So the solution is a way that selected text is remembered before losing focus.
Any ideas?
A computer always does what you tell it to, but rarely does what you want it to.....