change color of specific text in textbox

Posted by Abhi_patil under JavaScript on 2/26/2009 | Views : 2621 | Status : [Member] | Replies : 3
i have textbox with text="This is my first demo";

when i click on button only "first" should be in red color.

please any one help.
thank u.




Responses

Posted by: Vuyiswamb on: 2/27/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day Abhi_patil

I would like to thank you for posting questions in our Forum. It is our pleasure to help you. Your answer follows below

[u]http://ww.functionx.com/vcsharp2003/applications/bodytag.htm[/u]

[u]http://www.codeproject.com/KB/edit/SyntaxHighlighting.aspx?fid=185470&df=90&mpp=25&noise=3&sort=Position&view=Quick&select=1138058&fr=101[/u]

[u]http://forums.whirlpool.net.au/forum-replies-archive.cfm/489509.html[[/u]]

[u]http://www.dotnet2themax.com/showcontent.aspx?id=00fa0fd6-4970-4ddf-aa6b-335c3d1259be[/u]

Thank you. Hope this will resolve your Problem Looking forward form your reply

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhi_patil on: 3/4/2009 [Member] Starter

Up
0
Down
all these liks are relative to richtextbox.
not for textbox


Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Neeks on: 3/4/2009 [Member] Bronze

Up
0
Down
You cannot format the content of the TextBox as it does not render the HTML tags.

Thanks,

Abhi_patil, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response