Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.when(
- $('.box').animate({ opacity: 0 }, 1000, 'linear'),
- $.post( $(this).closest('form').attr('action'), $(this).closest('form').serialize() )
- ).then(function () {
- alert('both finished');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement