• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problem with TEXTAREA

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic