Profile
Achievement
satie83's Recent SnippetsTagged jquery
- All /
« Prev 1 Next »
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.
1
799
posted 11 years ago by satie83
Here’s a very simple script which adds numbers sequentially to an unordered list using jQuery
0
832
posted 12 years ago by satie83