Shameless plug here, but
a flow control library like async or Frame.js would help sort out these callbacks.
As brilliant as async is, its often much more difficult to get JS to be synchronous when you need it to be.
anyway, my .02, bz
On May 3, 2012, at 12:11 PM, Gregg Tavares (勤) wrote: