wood burning stoves*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 15376
Looks like we have a cross post....Not a good thing.....

Closing this thread

continue here: http://www.coderanch.com/t/118327/HTML-JavaScript/textarea-both-editable-non-editable

I agree. Here's the link: http://aspose.com/file-tools
subject: textarea with both editable and non-editable text.
Similar Threads
textarea with both editable and non-editable text.
JTextArea making non editable
Change the background color of TextArea
Info dialog in lwuit