66 users online (1 members and 65 guests)  

Thread: Text Areas...


  Results 1 to 2 of 2

Related

  1. Replies: 1
  2. Replies: 16
  3. Replies: 0
  4. Linking to areas on a web page    Forum: HTML Forum
    Replies: 11
  5. Replies: 2
  1. #1
    obsideus's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2003
    Posts
    1

    Text Areas...

    Hi! I was wondering what I could use that is like a text area.. but isn't? I don't want my site viewers typing into the text area I created, and being able to delete what I typed disabling them from seeing what I typed unless they hit refresh or something like that. It would be really annoying :| Please help!

  2. #2
    coreybryant's Avatar
    Texan at Heart

    Status
    Offline
    Join Date
    Jun 2003
    Location
    Castle Rock, CO
    Posts
    107
    You can use disabled or readonly for the text area. If it is a form & you want that value to be submitted, use readonly:

    <textarea rows="2" name="message" cols="20" readonly>

    If you are not usingg it to submit in a form, you can use disabled instead;

    <textarea rows="2" name="message" cols="20" disabled>



Tags for this Thread