Results 1 to 3 of 3

Thread: Multiple input

  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Multiple input

    hi all,
    i have one <select> form with options (0,1,2,3), when the value is change, when i select option 2, will be show 2 input text.

    eg:

    NORMAL
    (when 0 selected is nothing happend)
    -------------------------------
    <select name=test>
    <option value=0 selected>0</option>
    <option value=1>1</option>
    <option value=2>2</option>
    <option value=3>3</option>
    </select>

    WHEN I SELECT ONE OPTION
    (when 2 selected, will be create/show new input text)
    -------------------------------
    <select name=test>
    <option value=0>0</option>
    <option value=1>1</option>
    <option value=2 selected>2</option>
    <option value=3>3</option>
    </select>

    <input type=text name=in1 /> <-- new when 2 opt is selected
    <input type=text name=in2 /> <-- new when 2 opt is selected


    help me please...
    thanks

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

  3. #3
    Join Date
    Apr 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    can you give the simple example code for me? just simple.

    help me please...
    thanks...
    Last edited by nuna; 04-23-2007 at 11:50 AM.

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
  •