Double select boxes anyone?

i’m trying to find a recipe for a form that uses two select boxes, so
that the selection of one, gets the results of the other one using ajax.
i’ve done this using php, but i’m not sure where to start with ruby on
rails.

Here is an Ajax ‘double select’ widget, in object-oriented,
cross-browser JavaScript. Very easy to plug and play:

http://www.webonweboff.com/widgets/ajax/ajax_linked_selection.aspx

Article includes a demo, source code, explanations.

Hope this helps…