Hi all, I need some quick help in jquery. While using jquery ajax.Submit(), we can specify the target div to be modified with the template rendered by the corresponding action. Is there way using which we can update multiple divs ( using render update) from the called action in ajax.submit() I am stuck and for now i am populating a complete page again but its incorrect. I need to update multiple divs in page at different positions from the ajax.submit call. Thanks, Piyush -- 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.
Some urgent help required.. Any one.. On Mon, Jun 28, 2010 at 8:24 PM, Piyush Choudhary < piyush.choudhary.25-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > I need some quick help in jquery. > While using jquery ajax.Submit(), we can specify the target div to be > modified with the template rendered by the corresponding action. > Is there way using which we can update multiple divs ( using render > update) from the called action in ajax.submit() > > I am stuck and for now i am populating a complete page again but its > incorrect. > I need to update multiple divs in page at different positions from the > ajax.submit call. > > Thanks, > Piyush >-- 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.
Hi Piyush, Hope this helps, http://railscasts.com/episodes/136-jquery . It is a good, concise tutorial, showing you how to use jQuery in rails, it shows you how to update multiple div''s. Tsega On Jun 29, 6:59 pm, Piyush Choudhary <piyush.choudhary...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Some urgent help required.. > Any one.. > > On Mon, Jun 28, 2010 at 8:24 PM, Piyush Choudhary < > > piyush.choudhary...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi all, > > > I need some quick help in jquery. > > While using jquery ajax.Submit(), we can specify the target div to be > > modified with the template rendered by the corresponding action. > > Is there way using which we can update multiple divs ( using render > > update) from the called action in ajax.submit() > > > I am stuck and for now i am populating a complete page again but its > > incorrect. > > I need to update multiple divs in page at different positions from the > > ajax.submit call. > > > Thanks, > > Piyush-- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.