how to get the selected text in textarea
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi everyone Could anyone tell me how to get the selected text (not all text) in textarea.For example in textarea i type "Hello everyone have a nice day" .I use mouse to select just the word "day".I would like to get the value of the selected text (in this case "day").How to get it?Thanks for reading.
-
Hi everyone Could anyone tell me how to get the selected text (not all text) in textarea.For example in textarea i type "Hello everyone have a nice day" .I use mouse to select just the word "day".I would like to get the value of the selected text (in this case "day").How to get it?Thanks for reading.