Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6887847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:56:05+00:00 2026-05-27T05:56:05+00:00

I know how to wait till an animation is done with $(‘#element’).animate(speed,function(){ //code here

  • 0

I know how to wait till an animation is done with

$('#element').animate(speed,function(){
//code here
});

and with multiple elements with

$('#element1, #element2').promise().done(function(){
//code here
});

but how do I wait till all of the elements on the page are done animating? I would much rather not just put in every element that I’m waiting for in there.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:56:06+00:00Added an answer on May 27, 2026 at 5:56 am

    To select everything that’s being animated currently, just do $(":animated")
    http://api.jquery.com/animated-selector/

    Combining that with what you already have there, it’d just be

    $(":animated").promise().done(function() {
        //code here
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like this function to fade the contents of the div out, wait till
I would like to know the easiest way to wait for code to finish
I know it is possible to use jQuery to do something like: $('body').css('cursor','wait'); What
I am curious to know if there is a way to edit code in
We all know that in order to invoke Object.wait() , this call must be
Is there a way to wait for hide function in a loop? I mean
For a Console app, I need to know how to wait at set amount
Anyone know what is going on at here? Is there any way to allow
How would one know if there is a wait in WebLogic connection pool and
I implementing a EventQueue and get notified when AWTEvents are send. I wait till

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.