I use porototype to update page by form: <%= observe_form(:search_form, :frequency => 1, :update => :search_hits, :loading => "Element.show(''spinner'')", :complete => "Element.hide(''spinner'')", :url => { :action => :search }) %> But now I need to replase it by iQuery, can somebody help me? What I need to do? -- 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 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 -~----------~----~----~----~------~----~------~--~---
I don''t know either library well at all, but I imagine that you can find what you want here [ http://docs.jquery.com/Main_Page ] if you''re know what you''re doing with Prototype. Regards, Craig --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jul 7, 2008, at 10:17 AM, Gi Ga wrote:> > I use porototype to update page by form: > > <%= observe_form(:search_form, > :frequency => 1, > :update => :search_hits, > :loading => "Element.show(''spinner'')", > :complete => "Element.hide(''spinner'')", > :url => { :action => :search }) %> > > But now I need to replase it by iQuery, can somebody help me? What I > need to do?Look for "jquery ajaxform" in Google. Or look on errtheblog (http://errtheblog.com/posts/73-the-jskinny-on-jquery ). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---