Forum: Ruby on Rails Linking two HTML SELECT's together

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jerrie Pelser (Guest)
on 2006-03-20 21:26

How do I link two HTML SELECT's together.  Let's say for example that I
have a drop-down list with a list of all countries.  Once the user
selects one of the countries I would like to make an AJAX call back to
the server to populate the second drop-down list with all of the cities
for that country.

Any ideas on how to go about to do this?

Jerrie Pelser
This topic is locked and can not be replied to.