Click to See Complete Forum and Search --> : highlight of some chars in a text box


pelegk1
10-22-2003, 04:51 AM
i want to highlight or make like some of the leter of a text box (say the first 3 out of 12 letters were selected
)
how cn i do it?
thanks in advance
peleg

gil davis
10-22-2003, 01:55 PM
You can't. Textboxes do not support HTML attributes for individual characters. It is the whole textbox or nothing.

pelegk1
10-23-2003, 02:07 AM
it is possible:)
and i have found how

gil davis
10-23-2003, 05:51 AM
Prove it.

pelegk1
10-23-2003, 06:26 AM
http://www.codeproject.com/jscript/javaautocomplete1.asp

gil davis
10-23-2003, 07:34 AM
Obviously, I misunderstood what you meant by "highlighting". There is a difference between highlighting text and selecting text.

pelegk1
10-23-2003, 07:46 AM
i asked to ightlight part of it and that what i have found
i loved the example and u?