Selects - one depends on the other

Select a continent on the left and see what happens. The demo show how to setup a select whose items will be dependent on the selection of the first select. Here selecting a continent will constrain the list of countries by the continent selected.

the country list is not show here as its quite long but it loaded from an external instance.

It is structered like this: