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 6656091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:36:02+00:00 2026-05-26T01:36:02+00:00

I load an AJAX request after an animation finishes. However, I’d like to load

  • 0

I load an AJAX request after an animation finishes. However, I’d like to load the ajax, hide() where I’ve loaded it, and then simply show() it after the animation is done. The idea is that I won’t have to worry about the user waiting for an image to load, and that I could replicate this in all places where I wait for an animation to finish. Even just text.

I could simply put it in some div styled as display: none;, and hide it, but it bothers me that it’s still technically “there” on the page. Is there some way to load the content somewhere where the user cannot see it at all?

Solved. It is true that I didn’t want it in the DOM and was hoping there was some CSS3/HTML5 something-or-other that would ‘hold’ elements. 😛 As well, I knew others had a great way to do this, so I needed the best. I think I got it. Thanks, everyone.

  • 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-26T01:36:03+00:00Added an answer on May 26, 2026 at 1:36 am

    Create a css class such as the following:

    .hiddenelement
    {
        position:absolute !important;
        left:0% !important;
        top:0% !important;
        width:0% !important;
        height:0% !important;
    }
    

    use .addClass('hiddenelement') when you hide an element, and .removeClass('hiddenelement') when you are showing it.

    Of course, this won’t work if you have inline styles marked !important.

    Note: I believe this would likely work without the positioning as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After I make an ajax request by doing something simple like $(element).load(url, callback); there
I load content via Ajax and then I'll have element like $('.my_content_class') and I
Im using jQuery, my problem.. my URL looks like this after an ajax request
I am facing issue while i load a form on ajax request. i followed
I need certain scripts to refire after an AJAX load. How could I accomplish
After a page loads, I'm making an AJAX request to pull down an HTML
I am trying to load data using an AJAX request in my Chrome Extension.
What I'm wanting to do is after I get the ajax request back that
My lightview modal keeps closing after an Ajax request. Meaning when I make an
after the page being open for some time this ajax request gets a lot

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.