Title: Message
Not sure if (2) is suggesting overlapping execution, but onComplete will be called after your onSuccess handler exits.
 
Sam
 
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hirn, Joseph
Sent: Friday, June 30, 2006 10:34 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Ajax.Request synchronization (onSuccess beforeonComplete?)

2 questions regarding the synchronization of these events.

 

1)       is onSuccess called before onComplete ( I assume it is)

2)       if called after, is onComplete called after the onSuccess method has completed or are you at the mercy of synchronization issues?

 

Hopefully someone can enlighten me. I tried reading the Prototype.js but couldn’t seem to determine this on my own.

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to