Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When I select some text in the , I want that highlighted text to appear in the textbox which is just below the div. How can I do it?

ASP.NET
<div>
My text goes here............
</div>
<asp:TextBox ID="txt" runat="server"/>
Posted

1 solution

I got the answer at:

Get highlighted text from div
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900