Comment on Three Routes to Spaghetti-Free JavascriptparentComments−treeface15yTry jQuery's deferred events. It is, IMO, the most elegant actual-JavaScript solution to the problem I've seen.
Comments
Try jQuery's deferred events. It is, IMO, the most elegant actual-JavaScript solution to the problem I've seen.