#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    14
    Rep Power
    0

    Javascript Drop Box


    Okay, i have two drop boxes
    when i select an option from the first one, the second ones options change

    eg.
    Code:
    <select name="1">
    <option value="1">1
    <option value="2">2
    <option value="3">3
    </select>
    
    <select name="2">
    <option value="1">1
    <option value="2">2
    </select>
    Now when I select name1, value2 the second drop-box is:
    Code:
    <select name="2">
    <option value="3">3
    <option value="4">4
    </select>
    And when I select name1, value 2...
    Code:
    <select name="2">
    <option value="5">5
    <option value="6">6
    </select>
  2. #2
  3. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Oct 2001
    Location
    New Zealand
    Posts
    1,774
    Rep Power
    25
    And the question is? Or are you just bragging?


IMN logo majestic logo threadwatch logo seochat tools logo