[jQuery] Synchronizing

[jQuery] Synchronizing

Hi folks,
is there any way to synchronize calls in javascript without using callbacks?
Example:
doSomething();
reset();
doSomethingElse();
Reset calls some asychronous code and I don't want it to return until
the call is complete.
The obvious solution is to pass doSomethingElse as a callback for reset,
but that makes it very difficult in the given scenario.
Any ideas?
-- Jörn
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/