1
i want my template to have two drop down boxes. the first one should display the coountry and the second one should display the different cities within the coountry, depending on the selected country.
this is my code:
where,
country[0] = "A", country [1] = "B"
index[0] =0, index[1] =1
city[0] = "a", city[2] = "b"
my problem is, when i select an option, although the page refreshes, it does not send the value of the country, therefore causing the second drop down box to be empty.
am i using the wrong function? i'm thinking of creating a function that will do this. however, i might just be creating one that's like select(), maybe i'm just missing a command or something. can anyone shed light on my problem?
thanks!