Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Need Function to Complete before Proceeding Re: Need Function to Complete before Proceeding

#106834
TheDoc
Member

Well, for starters I would suggest not creating your own function that has the exact same name as one that jQuery uses itself.

If you wrote fadeTo() yourself, I would just add in a callback for it. This will give you a good start: http://stackoverflow.com/questions/1031674/how-do-i-write-a-jquery-function-that-accepts-a-callback-as-a-parameter

I’d also change the name of the function ;)