2 Selection Lists in a web form

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

    2 Selection Lists in a web form

    Dear readers:

    I found a web page with 2 selection lists in a form. The contents of
    the second selection list are updated based on the entry in the first
    selection list. For example:
    if the first selection list has all the states in the USA, the second
    list will display all the major cities in the selected state.

    Can anyone explain in a pseudocode how this is implemented.

    Regards,
    Jean Biver
    _______________ _______________ _______________ ___
    Check out my homepage

    Please recommend my seti@home profile at

  • Lasse Reichstein Nielsen

    #2
    Re: 2 Selection Lists in a web form

    jbiver@internet .lu (Jean Biver) writes:
    [color=blue]
    > I found a web page with 2 selection lists in a form. The contents of
    > the second selection list are updated based on the entry in the first
    > selection list. For example:
    > if the first selection list has all the states in the USA, the second
    > list will display all the major cities in the selected state.[/color]

    It is a neat idea, but the hard part is to make it degrade nicely if
    Javascript isn't available.
    [color=blue]
    > Can anyone explain in a pseudocode how this is implemented.[/color]

    Try looking at
    <URL:http://www.infimum.dk/HTML/multiselect.htm l>


    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    Working...