Great that is just what I needed! :)
Right, it was more like textarea or text box, anyway thanks for pointing it out....
User Profile
Collapse
-
Return selected text in textarea/text box
Hi,
I was just wondering if there is a way to return the highlighted text in a text box or a text area.
For instance:
<textarea id="foo"> The quick brown fox jumped ... </textarea>
<input type=text id="foo" value="The quick brown fox jumped ... ">
Lets say I highlight the text 'brown fox' in one of those fields, is there a way for me to get...
No activity results to display
Show More
Leave a comment: