Tag Archives: jQuery

jQuery: Execute a callback once, after a class based animation completes

I was developing some web recently and ran into a jQuery problem that was new to me. I was using a class selector to fade a group of elements, and using a callback function which would fire after the fade was complete. Something like this:

[note color=#DDD] $('.myclass').fadeOut('fast', function() { […] Continue Reading
Posted in Googling for Answers, Web Development Tagged