Hi, Very new to to prototype but needs a quick solution: when user click submit in a form, I''d like to clear a region in the screen, maybe a DIV''ed area, then display ''please wait...'', similar to gmail''s doing, any idea? thanks, AngeloC --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi and welcome - I recommend doing what I did when I first looked at Prototype: Read through the API docs here: http://www.prototypejs.org/api It''s about 30-60 minutes reading, and gives you a great idea what the library provides and how it works. (The specific thing you''re probably looking for is here: http://www.prototypejs.org/api/element/update.) Hope this helps, -- T.J. Crowder tj / crowder software / com On Mar 15, 11:33 pm, Angelo Chen <angelochen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > Very new to to prototype but needs a quick solution: > > when user click submit in a form, I''d like to clear a region in the > screen, maybe a DIV''ed area, then display ''please wait...'', similar to > gmail''s doing, any idea? thanks, > > AngeloC--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks, coming from jQuery, I found Prototype is a little more programmer friendly. On Mar 16, 7:56 am, "T.J. Crowder" <tjcrow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi and welcome - > > I recommend doing what I did when I first looked at Prototype: Read > through the API docs here:http://www.prototypejs.org/api > It''s about 30-60 minutes reading, and gives you a great idea what the > library provides and how it works. > > (The specific thing you''re probably looking for is here:http://www.prototypejs.org/api/element/update.) > > Hope this helps, > -- > T.J. Crowder > tj / crowder software / com > > On Mar 15, 11:33 pm, Angelo Chen <angelochen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi, > > > Very new to to prototype but needs a quick solution: > > > when user click submit in a form, I''d like to clear a region in the > > screen, maybe a DIV''ed area, then display ''please wait...'', similar to > > gmail''s doing, any idea? thanks, > > > AngeloC--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---