[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webcontrols

How do you Highlight text within asp:textbox?

Michael SL

2/13/2004 6:16:00 PM

I have a large asp:textbox. I want to implement a "Find" function. It would be best if this can be done with a JavaScript (or some other method) totally at the client site without the server's knowledge

How do I
a) Highlight text within a textbox
b) Determine which text is highlighted (possibly by the user) within a textbox?
1 Answer

Michael SL

2/13/2004 9:11:00 PM

0

As a follow on question. If someone clicks in the textbox, how do you tell where in the textstream the click occurred?