Ale Ds wrote: > Hi, > I am struggling with this problem: in a page there are 2 combo box: > category and subcategory. When I select a category the subcategory combo > must update its values.
I'm assuming you mean list boxes here. Comboboxes are slightly different. > > I would like to use JQuery with Ajax to load subcategory after category > change. observe_field should do it. > > It important the page works also without Javascript, Do you have some > idea to accomplish that ? Yes. You'll need to submit the form after the category is chosen if you're doing without JS. There's no other way. > > thank you ! > Alessandro Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

