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 Populating text area Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Populating text area" Watch "Populating text area" New topic

Populating text area

Ravi Pat

Joined: Oct 04, 2004
Posts: 15
How do I populate a text area in a form, with certain pre-set values based on a drop down selection menu? Also, I need to make the text box non-editable. Please help...

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Adding text to an textarea/textbox:

Disabling a textbox:

Making textbox readOnly

It is sorta covered in the JavaRanch Style Guide.
subject: Populating text area
It's not a secret anymore!