Sounds much like the working JavaScript code I already have...
The code I have works great, but the data is manually typed into the HTML code, so if you ever need to change it, you have to edit the code..(LOTS more work than it sounds like..mainly because of the number-matching(ID fields) scheme).
You are correct in that it seems impractical to list every city for every state and every country... but it was just a basic example to describe the functionality I am looking for.
Perhaps a more fitting example would be like this:
A large corperation owns several business and wants to be able to look up a group of phone numbers for a single location.
The companies are all over the US. So if you list CITY in the first box, then the facility in the next box, and the FAX#, VOICE#, DATA#, TECH SUPPORT#, EMERGENCY CONTACT#, etc in the last box.
Let's say there are 15 cities. Each of those 15 cities has 30 different locations and each location has 50 to 130 phone numbers.
If it is all in one list, that would be... a long list. 🙂
(I guess a seach engine of some sort would be better here..).
Here is another scenerio.
Here on the PHPBuilder website, there is a list of 'members' listed by location.
When you look at the list, it's pretty long..
now imagine, 2 select boxes. THe first one has locations, the second a list of people in those location..
In some cases, (lik Papua), you would only choose the location, and the second listbox would display only one name since there is apparently only one member from there currently. BUT, if you look at the US, there are over 1000. SO, if you use the 3-tier select box, you could select Country, State, and Person. True you would have alot of states, but 50 something is smaller than 1000 something.. and you could even reduce that by REGION or something..
Anyway, in the above examples, I am just trying to find a way to EASILY locate data based on City and Location, so if there is
a better, or easier way to navigate through thousands of records where they match other records, with having to type anything in (like a search), then that is going to be the end goal I am looking for.
Any suggestion are greatly appreciated.
Thank you very much for your reply Eric.
regards,
Matt Johnson