File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes color in selected text in text area Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

color in selected text in text area

Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
Hi All

We have a problem with text area. When we select any portion of the text its color and font should be changed as per selection.


This is my text in Bold and text in Bold and underline and this is my text in red and big size. How to achieve this functionality.

Exactly i posted my query here... This will be viewed in different font and color

David Newton

Joined: Sep 29, 2008
Posts: 12617

Please don't post the same question twice; locking this thread. Continue in the other one.
I agree. Here's the link:
subject: color in selected text in text area
jQuery in Action, 3rd edition