Link to home
Start Free TrialLog in
Avatar of Caliguian
Caliguian

asked on

Underlining words in textarea

If I have a textarea that is built something like this:


<textarea name="testArea" id="testArea" cols=30 rows=5>This is my test textarea</textarea>


And I want to underline (or make red) a certain word in the textarea, is this possible?  If so, how would I do it?  I am trying to make my spellchecker be more user-friendly and I was thinking that if I could mark all the words I find misspelled in the textarea that might help.  Thanks in advance for your comments.
SOLUTION
Avatar of prakash_prk
prakash_prk
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vincent_figo
vincent_figo

True prakash, but in that case you underline the whole text and i don't think that is what is needed... You can also color the whole text in a default color, but it's not possible to give only some words a default style...
yes vincent :( . we must use a rich text editior.
Avatar of Caliguian

ASKER

Dang.  I was hoping single words could be decorated.  Thanks for the input guys.