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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5c13c97cfdd915aaceffe65b9c99454e?d=identicon&s=25 Jerrie Pelser (Guest)
on 2006-03-20 20:26
Hi,

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?

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