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 textarea with both editable and non-editable text. 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

textarea with both editable and non-editable text.

Anish Nagraj

Joined: Feb 27, 2006
Posts: 20
My application has got a textarea where i have got to display a text which should not be deleted or altered by the user, where as the same user should also be able to enter his own text immedietly after the non-editable text ends.
The non-editable text should be displayed in a different color where the user entering text should be in a different color.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Sounds like your requirements exceed the capabilities of HTML.
In any case, none of this is done in JSP so..
Moving to the HTML/Javascript forum.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Looks like we have a cross post....Not a good thing.....

Closing this thread

continue here:

I agree. Here's the link:
subject: textarea with both editable and non-editable text.
It's not a secret anymore!