Dependent List (City & State)

Results 1 to 2 of 2

Thread: Dependent List (City & State)

  1. #1
    Join Date
    Dec 1969

    Default Dependent List (City & State)

    I am trying to create a couple of drop down list boxes that will enable a user to select a state and then auto populate a city drop down box based on the state selection. I have city and state sql tables linked with a state id. I have been searching for a simple way to accomplish this. Please help... joe

  2. #2
    Join Date
    Dec 1969

    Default Two ways...

    (1) My simple-minded way. Done by posting page to itself to get the second list&#039;s contents:<BR><BR><BR>(2) Put the list of *ALL* cities for *all* states into the browser (as JS arrays) and then use JS scripting to do it. Works well, but if you have thousands of cities this might be too much data to shove to the browser. Anyway:<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts