Return to Snippet

Revision: 63890
at June 14, 2013 23:51 by satie83

Initial Code

Initial URL

Initial Description
How can I do a function once a toggleClass has completed? 

The .toggleClass method along with all other animation methods return a deferred object that you can access using .promise(). At that point, you can bind to it's done method.

Initial Title
jQuery - Function on toggleClass complete

Initial Tags

Initial Language