Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with TEXTAREA

 
vikram nalagampalli
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I am trying to retreive some information from database and trying to show it in the textbix and text area.
For the text box if i am using value='<%=jobTitle1%>' its working fine
<input type="text" name="jobTitle1" size="25" value='<%=jobTitle1%>'>

But if use the same with textarea, i am not able to see that information in my form
<textarea rows="3" name="jobDescription1" cols="41" value='<%=jobDescription1%>'></textarea>
can any one suggest if there is any other means to retreive this information with the text area.
Thanks
vik
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no value parameter in a TextArea. Basic HTML... the text for a TextArea goes between the < textarea > < /textarea > tags!
 
vikram nalagampalli
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So how can i retreive information into textarea. IS there any other means to retreive information in text area.
In my case i am editing a form, In that case it makes sense, if we can retreive information already entered by the user.So that user will know where he needs to update.
So if u can help me with a solution on this, i would be thankful.
Thanks
vikram
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Uh... based on the previous post, I would assume that
<textarea rows="3" name="jobDescription1" cols="41">
<%=jobDescription1%>
</textarea>
would work...
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic