yeh, thanks,
but another poblem is now that I have to make with this array a kind of 3dimensional <select>-tool;
for instance; if region1 is selected, I can choose between 10 countries; and if I then have selected a country and can choose between 10 cities ...
but I still have a problem (as I'm not a great expert in javaScript);
Once I've defined this array; how can I then do the following :
In my html page I have three <select> boxes; (this equals the three dimensions in my array). So once I have chosen a region, I can choose a country in the second one and the I can choose a city in the third...
But once I change back my region the other two <select> boxes should be resetted....so I can start over again...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.