SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Knowledge is key 2 progression Tryst's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Within <TEXTAREA>

    Hi all,

    Does the <TEXTAREA> tag allow for text to be contained within it when the pages loads? For example, I have a form in which all the input values are automatically inserted into the respective fields from a database.

    I know the <INPUT> tag has the 'VALUE' attribute which allows default text to be contained within them, was wondering if something similar is used for the <TEXTAREA> tag - 'value' doesn't seem to work.

    I have looked at some online HTML references but I can't seem to find an attribute that allows for default text for the <TEXTAREA> tag.

    Cheers

    Tryst

  2. #2
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <textarea>Place default text here</textarea>

  3. #3
    Knowledge is key 2 progression Tryst's Avatar
    Join Date
    Sep 2003
    Location
    Wales
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LOL!

    How could I miss that out

    Thanks

    Tryst

  4. #4
    Formerly known as RockNRollPig Shpigford's Avatar
    Join Date
    Dec 2002
    Location
    Denver, CO
    Posts
    2,877
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Tryst
    LOL!

    How could I miss that out

    Thanks

    Tryst
    Haha...yeah...it's always the little things


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •