Hi, I need two drop down menus 1: Country 2: City If i choose the country as USA using the "country" drop down menu then for the 2nd "CITY" drop down menu i need only USA cities to be displayed. How can i do it via Javascript? Pls help! Thanks In advance Daniah
You can do this with Ajax. Have a look at this tutorial: http://www.php-etc.com/tutorials/Ajax/ The demo should be very similar to what you want to do here (only with different menu items): http://www.php-etc.com/tutorials/Ajax/demo.php
Hey thanks for the tutorials, but i can't find the source code for this demo. Also, can't this be done via simple javascript?
Here you'll find different multi-levels Menus Maybe the "Chained Select menu" from that page is what you're looking for.