Populating Combo Boxes

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Derk

    #1

    Populating Combo Boxes

    I have to write a web page wht three combo boxes, all three are to be
    populated from a database. - there tables = Bulidings, Floors and Offices

    The user will choose a 'Building' from the first combo, once it has been
    selected, I need to populate the second combo box with the 'floors' of that
    selected building. The user will then select the floor, which in turn will
    then populate the office combo box for the user to select

    Thanks

    Derrick


  • RobG

    #2
    Re: Populating Combo Boxes

    Derk wrote:[color=blue]
    > I have to write a web page wht three combo boxes, all three are to be
    > populated from a database. - there tables = Bulidings, Floors and Offices
    >
    > The user will choose a 'Building' from the first combo, once it has been
    > selected, I need to populate the second combo box with the 'floors' of that
    > selected building. The user will then select the floor, which in turn will
    > then populate the office combo box for the user to select[/color]

    Have a read of Matt's stuff here:

    <URL:http://www.javascriptt oolbox.com/dynamicoptionli st/>

    --
    Rob

    Comment

    • Matt Kruse

      #3
      Re: Populating Combo Boxes

      Derk wrote:[color=blue]
      > I have to write a web page wht three combo boxes, all three are to be
      > populated from a database. - there tables = Bulidings, Floors and
      > Offices[/color]

      Well, you didn't actually ask a question, but I assume you're looking for
      code to help accomplish this?

      Check out: http://www.JavascriptToolbox.com/dynamicoptionlist/ for a library
      and examples that might help you.

      --
      Matt Kruse



      Comment

      Working...