Home › Forums › JavaScript › Need Function to Complete before Proceeding › Re: Need Function to Complete before Proceeding
July 26, 2012 at 2:15 am
#106805
Member
Why can’t you use a callback on the fadeTo?
fadeTo(white, function() {
// other stuff
});
From the docs:
.fadeTo( duration, opacity [, easing] [, callback] )