How to populate a dropdownlist based on the selection made in another dropdownlist?

How do I automatically populate the second dropdown based on the selection made in the first one. Say if I choose a contry in the first dropdown, then I want to display a list of cities from that country in the second dropdown. Is there a way to do this with jQuery?

The code can be viewed at

Hey Prodac,
Is this what your looking for?

Hi Silversurfer5150,

Yeah, thats exactly what I’m looking for :slight_smile:

I need this to work without PHP though…