Dynamic drop-down menus

Discussion in 'Javascript' started by Colvin, Dec 19, 2003.

  1. Colvin

    Colvin Guest

    I'm trying to create a pair of dynamic drop-down menus. I'm new to
    Javascript, so I tried to find a simple example on the web. I found a
    good example at http://javascript.about.com/library/weekly/aa072903a.htm
    , and I tried to model my problem after that. My attempt can be viewed
    at
    http://www.riverhill.org/english/robb/summer_school/dynamic_menus.html
    (I've removed all of the other html). It's supposed to display a list
    of middle schools if the grade is 6-8 and a list of high schools if the
    grade is 9-12, but that's not happening. I think the problem is that I
    refer to the menus with the prefix document.forms.school_info , where
    school_info is the name of a form tag. Even if this line is the
    problem, I don't know what to change it to. Any help would be appreciated.

    Thank you,
    Alec Colvin
    Colvin, Dec 19, 2003
    #1
    1. Advertising

  2. Colvin

    Colvin Guest

    Never mind. The code had mismatched curly braces.

    - Alec Colvin

    Colvin wrote:
    > I'm trying to create a pair of dynamic drop-down menus. I'm new to
    > Javascript, so I tried to find a simple example on the web. I found a
    > good example at http://javascript.about.com/library/weekly/aa072903a.htm
    > , and I tried to model my problem after that. My attempt can be viewed
    > at
    > http://www.riverhill.org/english/robb/summer_school/dynamic_menus.html
    > (I've removed all of the other html). It's supposed to display a list
    > of middle schools if the grade is 6-8 and a list of high schools if the
    > grade is 9-12, but that's not happening. I think the problem is that I
    > refer to the menus with the prefix document.forms.school_info , where
    > school_info is the name of a form tag. Even if this line is the
    > problem, I don't know what to change it to. Any help would be appreciated.
    >
    > Thank you,
    > Alec Colvin
    >
    Colvin, Dec 19, 2003
    #2
    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. SirPoonga
    Replies:
    2
    Views:
    739
    Ben Strackany
    Jan 7, 2005
  2. weiwei
    Replies:
    0
    Views:
    998
    weiwei
    Jan 5, 2007
  3. msimmons
    Replies:
    0
    Views:
    454
    msimmons
    Jul 16, 2009
  4. Nick

    dynamic drop down menus

    Nick, Jul 1, 2003, in forum: Javascript
    Replies:
    0
    Views:
    67
  5. Replies:
    5
    Views:
    251
Loading...

Share This Page