Topic: Cascaded drop down

I have two drop downs. I want the second drop down be populated based on the selection of the first drop down.
can any one suggest me a way please

Re: Cascaded drop down

I know railscasts has a great example of dynamic select menus that might be worth checking out. Basically you are using JS to show/hide based off the selection. Here is the link http://railscasts.com/episodes/88-dynamic-select-menus

Re: Cascaded drop down

thanks  a lot I will check it

Re: Cascaded drop down

Hi lscott3. I have watched the cast and tried to implement it. but I can't get it work. I am using rails 3.0.4.
the difficulty is how to use the javascript in rails 3. can u show me how it works in rails 3 clearly please?

Re: Cascaded drop down

Try using jquery with UJS.

Im sure it will help you.

Last edited by srikar (2011-03-07 04:53:30)

Re: Cascaded drop down

Please can u show me how. If possible just implement one example for me

thank u in advance

Re: Cascaded drop down

Nice feed. Looking for some new stuff to be posted. Who doesn't want its website to be on top Google rank? Find it out here to get professional help