hello, I am doing a rails project and i am new to rails, am stuck with some problems. 1) I have a div container at the left side of the page just like a sidebar which contains different links. And the right side of the page is meant to display the content, which is also a div container . When i click any of the links in the sidebar respective pages must be displayed in the right side container. How to do this in rails? 2) I have 2 combo boxes, i want to load the 2nd combo box depending on the value selected in the 1st combo box. How to implement it in rails? Can some one provide me the code structure. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Nagesh Shenoy wrote in post #1019531:> hello, > I am doing a rails project and i am new to rails, am stuck > with some problems. > 1) I have a div container at the left side of the page just like > a sidebar which contains different links. And the right side of the page > is meant to display the content, which is also a div container . When i > click any of the links in the sidebar respective pages must be displayed > in the right side container. How to do this in rails? >You would have to learn javascript, or a javascript framework like jquery or prototype.> 2) I have 2 combo boxes, i want to load the 2nd combo box > depending on > the value selected in the 1st combo box. How to implement it in rails? >What is a combo box? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Look for the keyword ''chained select'' in the Googles. Walter On Sep 1, 2011, at 2:18 AM, 7stud -- wrote:>> 2) I have 2 combo boxes, i want to load the 2nd combo box >> depending on >> the value selected in the 1st combo box. How to implement it in >> rails? >> > > What is a combo box?-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.