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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:37:57+00:00 2026-05-27T13:37:57+00:00

$(#page).ajaxStart(function(){ $(#loading).show(); }); $(‘#page’).load(‘target.html’, function() { $(#loading).hide(); } This is how I load my

  • 0
$("#page").ajaxStart(function(){
   $("#loading").show();
}); 
$('#page').load('target.html', function() {
    $("#loading").hide();
}

This is how I load my target page, but this AJAX function only loads scripts, not all nodes inside it. How to load a page with all its nodes, like images, etc. Is it possible?

The page loads but images in it starts loading way after. What I need is to load the elements inside it just like a swf movie.

  • 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-27T13:37:58+00:00Added an answer on May 27, 2026 at 1:37 pm

    First off, you’re missing a closing “);” so i’ve added that…

    $("#page").ajaxStart(function(){
       $("#loading").show();
    }); 
    $('#page').load('target.html', function() {
       $("#loading").hide();
    });
    

    Does this fix the problem? .load should load the whole page.
    Check if there are issues with your target.html page.

    If you’re trying to load all the images before you show the page or something, check this:

    jquery event once all images are loaded (including cached images)?

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

Sidebar

Related Questions

I have a lot of Ajax indicators in a Page. Now I use $(document).ajaxStart(function
This page displays beautifully in firefox but i get all kinds of problems when
How do you show ajax gif only for a specific request? For example my
This page says you need to call PrintSetupDlg , but this code PAGESETUPDLG printDialog;
I have a page that automatically refreshes content via Ajax. I want this to
The page I'm trying to load is something like this (although, the number of
This page from Adobe says to add a wmode parameter and set its value
This page mentions how to trunc a timestamp to minutes/hours/etc. in Oracle. How would
Upon page load I want to move the cursor to a particular field. No
I have multiple divs in a page whose content gets loaded via ajax. I

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.