Hi there,
Is this even possible to do something like this in an RJS template?
page.redirect_to url_for(:action => ''index'', :controller
=> ''posts'')
page << "new
Effect.ScrollTo(''scroll_to_specified_id'');"
The redirect_to works, but the ScrollTo doesn''t get executed.
Any ideas or workarounds?
Thanks,
Dave
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---