• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
"To do good, you actually have to do something." -- Yvon Chouinard
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic