=?Utf-8?B?YnJ1Y2UgYmFya2Vy?=
2008-06-19 07:45:00 AM
<input type="text">does not support css on text segments (as there is no
span, etc). to set select its just javascript:
document.getElementById('myinput').createTextRange().find('text to select');
-- bruce (sqlwork.com)
"jc" wrote:
>It would appear I cannot do this unless it's a richtextbox...
>
>but is there any way I can change the color of a given string inside a
>textbox control?
>
>Maybe with javascript? Postrender? CSS?
>
>If not, does anybody have any javascript code where I can atleast
>select (hilite) the given text?
>
>Thanks for any help or information!
>