I have a select box with an observe field; i update another select box
on first ones change. Is there a way to update more than one select
box on change. I need to update 2 select boxes based on the selection
of the first one. Any input is appreciated
sure you can do that. When you call observe_field you usually have the :update parameter filled in, which means "write the return of the action to the element with this id".
when you want to update multiple elements with an ajax call, what you do is just not provide an :update parameter.
you could do something like
page.replace_html id_of_the_first_dependant_box, :partial=>whatever
page.replace_html id_of_the_second_dependant_box, :partial=>whatever