SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member here4u247's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Passing values to textareas

    hello everyone,

    i have a little question, i want to pass a value to text area whather from a varible or from database. is possible to do that??

    i saw couple of website who done that.

    i will be gratefull is some help guide me on that thanks very much

    Abdi

  2. #2
    Object Not Found junjun's Avatar
    Join Date
    Mar 2002
    Location
    northern MI
    Posts
    1,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    hiya here42247,
    You are not very specific on what exactly you're after.
    The basics of writing into a textarea is pretty simple.
    HTML Code:
     <textarea>Content goes here</textarea>
    Is that what you're looking for? If not let's take if from here

  3. #3
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'll have to use some kind of programming (i.e., not just HTML) to accomplish that. You can use pretty much any language you'd like: JavaScript, PHP, Perl, ASP, etc. What do you have access to?

  4. #4
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by junjun
    hiya here42247,
    You are not very specific on what exactly you're after.
    The basics of writing into a textarea is pretty simple.
    HTML Code:
     <textarea>Content goes here</textarea>
    Is that what you're looking for? If not let's take if from here
    Yup exactly, but replace "Content goes here" with an echo or print function.

    Nothing to do with CSS this. You will have more luck in the server side programming forums.

  5. #5
    SitePoint Member here4u247's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mstwntd
    Yup exactly, but replace "Content goes here" with an echo or print function.

    Nothing to do with CSS this. You will have more luck in the server side programming forums.

    thanks to you all folks,

    yes, this helped

    <%var = "Content goes here"%>
    <textarea><%=var%></textarea>


    thanks you very much for the hints. I really do apperciate it.

    Abdi


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
  •