Multiple list boxes and controlling selections

Discussion in 'Javascript' started by sleon@cbbcorp.com, Jan 27, 2005.

  1. Guest

    I have two drop down list boxes, category, and subcategory. The
    subcategory list does not get populated until a selection has been made
    from the "category" list.

    When a selection is made from the subcategory list, I want to use the
    onchange "jumpMenu" function to position the web page to the selection
    that was made. My question is this: Since I do not know which
    subcategories will be displayed until a selection has been made from
    the category list, how do I create my <options> tags that will only
    list the subcategories that are relevant to the category selected, so
    that I can use the "jumpMenu" function?
    , Jan 27, 2005
    #1
    1. Advertising

  2. Guest

    I am a complete newbie to javascript, if my question is incoherent, I
    will
    try and rephrase it...


    wrote:
    > I have two drop down list boxes, category, and subcategory. The
    > subcategory list does not get populated until a selection has been

    made
    > from the "category" list. This works fine.
    >
    > When a selection is made from the subcategory list, I want to use the
    > onchange "jumpMenu" function to position the web page to the

    selection
    > that was made. My question is this: Since I do not know which
    > subcategories will be displayed until a selection has been made from
    > the category list, how do I create my <options> tags that will only
    > list the subcategories that are relevant to the category selected, so
    > that I can use the "jumpMenu" function?
    , Jan 27, 2005
    #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. bill yeager

    multiple listbox selections

    bill yeager, Aug 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    448
    bill yeager
    Aug 12, 2003
  2. =?Utf-8?B?QWRpcw==?=
    Replies:
    0
    Views:
    383
    =?Utf-8?B?QWRpcw==?=
    Oct 19, 2004
  3. Stefan Mueller
    Replies:
    5
    Views:
    12,387
    jamesxa
    Jun 16, 2009
  4. studen771

    LoadPostData and html <select> with multiple selections

    studen771, Sep 22, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    183
    studen771
    Sep 22, 2006
  5. Paul
    Replies:
    29
    Views:
    429
Loading...

Share This Page