Adding textarea to page from user input

Discussion in 'Java Script/AJAX' started by bitane, Sep 20, 2011.

  1. bitane New Member

    Member Since:
    Jun 17, 2011
    Message Count:
    269
    Likes Received:
    0
    'm terrible with JS, need some help here. I tried Googeling for a while but didn't find what I wanted.

    I want to add textarea's to my page dynamically. I want to have a text field, and then when a number is entered there will be that many textarea's.

    Example: You enter '10' into the text field, and 10 textarea's appear underneath.

    I don't really have any clue where to even start. I'm not very good with JS, so if someone could point me in the right direction that'd be great.

    Thanks.

Share This Page