DropDown onChange event update the table in view

Hi all,

I am fairly new to ROR and recently i created an application where i
have a combobox when on select the item from combobox i need the table
in the view to be updated based on the selection of the item selected in
the combobox. I need to do it using javascript , the whole data should
be retrived once and when the user selects the item from combo the table
data should get updated without goin to database again and again.
Any help would be deeply appreciated.


hi dude i’m also new to ror, two days back i struggled for the same

but in my case when i select an item from dropdown in my view. based on the
selection another dropdown in the view should be update automatically
without touching database…

go to this site,see demo and view page source


this link wont provide the particular thing you have looking for but
it was done using javascript,hope it may give u an idea to solve ur