Just a note on that: 

_javascript_ is single-threaded, so there can't be any case of overlapping execution of two _javascript_ methods.

-Thomas


Am 30.06.2006 um 16:38 schrieb Sam:

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

--
Thomas Fuchs
wollzelle


questentier on AIM
madrobby on irc.freenode.net
 
http://www.fluxiom.com :: online digital asset management
http://script.aculo.us :: Web 2.0 _javascript_
http://mir.aculo.us :: Where no web developer has gone before




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

Reply via email to