InventoryTrackers wrote: > I've done the 'Googling' for days now to find an example of using two > dependent select statements on a form where the user selects the > parent record value and the observe_field 'kicks in' to create another > select that shows parent.children offerings. > Is there anyone I can pay to provide me with the simplest example? If > so, please contact me by email.
Unfortunately, it's best not to use observe_field. Rails' JavaScript helpers mix JS into HTML, which is bad practice (Rails 3 will fix this). Just write the JavaScript yourself -- it's quite simple -- and put it in an external file. > Hopeful thanks, > David 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.

