i use a dropdown list with <select> and <option>.
I have 2 dropdown list. example i have a list of Country and a list of city. I want to relate these two lists. If a user select a country than i want the other dropdown list to be filled with the cities of that selected country. and vice versa if I select a city, then the country dropdown list will selected/filled with the country of that city. Do you know how i can do this? with html or javascript or xml?
I have 2 dropdown list. example i have a list of Country and a list of city. I want to relate these two lists. If a user select a country than i want the other dropdown list to be filled with the cities of that selected country. and vice versa if I select a city, then the country dropdown list will selected/filled with the country of that city. Do you know how i can do this? with html or javascript or xml?