I have 3 select html elements which are related in cascade: countries, province and city. All 3 are select pulldown.
The province pulldown only contains the provinces of the selected country and the city pulldown contains only cities from the province selected. Now, I have 2 JS functions which get executed onChange of country and province, looking for data related to the country or provinces just selected respectively. All this works great. The problem is that when I change a country, the provinces pulldown gets updated correctly, but I need the cities pulldown to get updated with the values of cities that belong to the new province that is selected. I tried adding the JS function that updated the cities after the one that updated the provinces in the OnChange of countries SELECT object, but is looks for cities of the old province, not the new one. Any idea on how to work this out? -- Martín Marqués select 'martin.marques' || '@' || 'gmail.com' DBA, Programador, Administrador --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---