Connecting Tech Pros Worldwide Help | Site Map

how to implement three combo boxes

Newbie
 
Join Date: Dec 2006
Posts: 1
#1: Dec 19 '06
hi friends,
how to implement three combo boxes(Country,State,city)that filters each other when changed,Country filters State and city and state filters city.
plz help me
sailaja
Expert
 
Join Date: May 2007
Posts: 213
#2: Jul 8 '08

re: how to implement three combo boxes


You will probably want to use Ajax. For instance, you could fill the country list from a database, and add an onchange to the box. The onchange would call a controller method to select states for that country and fill the state list. The state box would then work the same way to filter the city. Something like this maybe.
Reply