search for: beyong_to

Displaying 1 result from an estimated 1 matches for "beyong_to".

Did you mean: belong_to
2006 Jul 07
3
dynamically updating a listbox from another listbox
Hi, I would like to be able to dynamically (without reloading the page) change the values from one listbox when a user select items from another listbox. I have a model ''Sector'' which has_many ''levels'' (and of cours, ''Level'' beyong_to ''sector''). I want to show the user two listboxes with the sectors and levels. But when a user select a certain ''sector'', the ''levels'' listbox should be populated dynamically with only the ones related to that sector. I''m using col...