Results 1 to 2 of 2

Thread: Dynamic form creation? [RESOLVED]

  1. #1

    Thread Starter
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205

    Dynamic form creation? [RESOLVED]

    With JavaScript, is it possible for me to create form elements dynamically?

    I have a form, where a user may want only 1 element, or they may want 10, and I'd like to have a "Add Textbox" sort of button if possible, so that when they click it, a new textbox appears...

    Last edited by rjlohan; Sep 8th, 2002 at 06:00 PM.
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  2. #2

    Thread Starter
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    No worries. I've sorted it myself. A bit of .innerHTML and some <div> tags.

    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

Posting Permissions

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



Click Here to Expand Forum to Full Width