# How to create multiple selects with related content?

**URL:** <https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931>\
**Category:** Rails\
**Created:** [April 27, 2006, 8:07am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931 "2006-04-27T08:07:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d6d6ee/32.png) [@charlie](https://www.ruby-forum.com/u/charlie)\
**Post date:** [April 27, 2006, 8:07am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931/1 "2006-04-27T08:07:05Z")

</div>

How to create such a multiple select box:  
the first box lists the countries,  
the second lists the states related to the country in the first select  
automaticly  
the third lists the cities related to the state in the second select  
automaticly

Thanks

---

<div class="post-metadata">

**Author:** ![charlie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d6d6ee/32.png) [@charlie](https://www.ruby-forum.com/u/charlie)\
**Post date:** [April 27, 2006, 8:18am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931/2 "2006-04-27T08:18:21Z")

</div>

Ezra has provided a solution to this problem. I can’t put my finger on  
it  
right now but if you search the archives… I think the title of the  
post  
had dynamic in it from memory if that helps.

---

<div class="post-metadata">

**Author:** ![charlie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d6d6ee/32.png) [@charlie](https://www.ruby-forum.com/u/charlie)\
**Post date:** [April 27, 2006, 8:48am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931/3 "2006-04-27T08:48:53Z")

</div>

Tks  
I have found in:  
[http://www.ruby-forum.com/topic/61899#62762](http://www.ruby-forum.com/topic/61899#62762)

Daniel ----- wrote:

> Ezra has provided a solution to this problem. I can’t put my finger on  
> it  
> right now but if you search the archives… I think the title of the  
> post  
> had dynamic in it from memory if that helps.

---

<div class="post-metadata">

**Author:** ![charlie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/d6d6ee/32.png) [@charlie](https://www.ruby-forum.com/u/charlie)\
**Post date:** [April 27, 2006, 10:15am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931/4 "2006-04-27T10:15:31Z")

</div>

I want the style without AJAX,anybody who can help me?
