Is the first function call asynchronous, perhaps? If so, then fire a custom event at the end of the first function. The second function is observing that event.
Make sense? -- Jonathan Rosenberg Founder & Executive Director Tabby's Place http://www.tabbysplace.org -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kupido Sent: Wednesday, September 22, 2010 7:51 AM To: Prototype & script.aculo.us Subject: [Proto-Scripty] Execute a function after another one Hello, I'm looking for a reliable way to call a function after the previous one has completed. I'm not new to Prototype but I can't find a way to call n functions sequentially... is Function.defer meant for this? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.
