modifying pull-down menus

Discussion in 'Javascript' started by drblitzkrieg@gmail.com, Mar 17, 2007.

  1. Guest

    Hi, I have a page with 2 drop-down menus. The task is, when you select
    1 menu, your selection then changes the options available in the
    other. This data happens to be drawn from a mysql database, so I
    wouldn't think that it could be done purely in Javascript, but rather
    a combination of PHP generating some JS code. Thing is, I don't even
    see how to change a menu's available options with JavaScript, only
    names and values of individual fields.

    Any hints and links appreciated.

    Thanks.

    --
    Stephan
    , Mar 17, 2007
    #1
    1. Advertising

  2. ASM Guest

    a écrit :
    > Hi, I have a page with 2 drop-down menus. The task is, when you select
    > 1 menu, your selection then changes the options available in the
    > other.


    http://stephane.moriaux.perso.wanadoo.fr/truc/selects.htm

    > This data happens to be drawn from a mysql database, so I
    > wouldn't think that it could be done purely in Javascript, but rather
    > a combination of PHP generating some JS code. Thing is, I don't even
    > see how to change a menu's available options with JavaScript, only
    > names and values of individual fields.


    or complete list of options of select(or)



    --
    Stephane Moriaux et son (moins) vieux Mac déjà dépassé
    Stephane Moriaux and his (less) old Mac already out of date
    ASM, Mar 17, 2007
    #2
    1. Advertising

  3. Guest

    Tre bien! That French site did the trick. You just saved me in time
    for a Japanese company's deadline, my friend. Thanks!
    , Mar 18, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ben

    java pull down menus

    Ben, Sep 26, 2003, in forum: HTML
    Replies:
    5
    Views:
    611
    Beauregard T. Shagnasty
    Sep 26, 2003
  2. D.Evans

    Pull-Down Menus

    D.Evans, Dec 22, 2003, in forum: HTML
    Replies:
    30
    Views:
    1,256
    Sparkleware.com
    Jan 1, 2004
  3. gleekzorp

    pull down menus

    gleekzorp, Sep 11, 2005, in forum: HTML
    Replies:
    22
    Views:
    1,088
    Dr Clue
    Sep 20, 2005
  4. Replies:
    2
    Views:
    2,140
    Mike Treseler
    Jun 28, 2006
  5. Keith Burns

    Dynamic pull down menus (CGI)

    Keith Burns, Jan 25, 2006, in forum: Python
    Replies:
    2
    Views:
    390
    Fuzzyman
    Jan 25, 2006
Loading...

Share This Page