As i already mentioned above, i am using 3.0.10 here and the default js library is prototype. But still i am not able make observe_field working.
Any ideas? On Jan 8, 8:08 pm, Bill Walton <[email protected]> wrote: > Hi Venkata, > > On Sun, Jan 8, 2012 at 1:57 AM, venkata reddy <[email protected]> > wrote: > > Hi every one, > > i need something like populating all the states > > when a particular country selected. My exact requirement is, in my > > project management tool, when a project is selected all of its > > activities should be populated in the next drop down. I think before > > rails 3 it can be done using observe_field tag. But how to do that in > > rails 3 ( 3.0.10 to be precise) . > > AFAIK, the 'observe...' helpers have not been replicated for jquery ( > I miss them, too) so the easiest way is to swap out jquery and use > prototoype.js. jQuery is now the default, but you can continue to use > prototype.js if you like. > > Best regards, > Bill -- 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.

