I was wondering... i'm using 'complete' and 'loaded' callbacks for ajax
requests, and reading the manual i understand 'complete' callback comes
first than 'loaded', because as the Cake manual says:

$options['complete'] // JS code to be called when the XMLHttpRequest is
complete.

And once the XMLHttpRequest is complete, then i guess, the browser
finishes loading the remote document and the 'loaded' callback comes:

$options['loaded'] // JS code to be executed when the browser has
finished loading the remote document.

But i'm checking that when i put on both callbacks an alert message,
the 'loaded' callback always comes first. Am I wrong with my
supposition? Or maybe it's random when they appear? Are there any other
callback that is executed later than these ones?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to