dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: assigning values to textareas/pulldowns

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    assigning values to textareas/pulldowns

    [Originally posted by nicola]

    Hi.
    im having a problem assigning info that i retrieve from my db into both text areas and pulldowns.
    tried using the value property, like u can with text boxes but it didn't work.
    this is what i've got for the textarea

    < textarea name = &quot;edu&quot; value = &quot;&nbsp; = rs(&quot;Education&quot;)&nbsp; &quot; rows=&quot;4&quot; cols =&quot;30&quot; > < /textarea >


    hope u can help
    nicola

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:assigning values to textareas/pulldowns

    [Originally posted by FreeVBCode.com]

    You don't use the value property with textareas. It's like this:

    < TEXTAREA NAME = "edu" "rows="4" cols ="30" >< %=rs("education")< /TEXTAREA>

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:assigning values to textareas/pulldowns

    [Originally posted by FreeVBCode.com]

    Also, when you have a question like this, it is a good idea to view the HTML source for a textarea on a live web site. There are plenty here for you to look at for instance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center