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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:55:30+00:00 2026-05-13T20:55:30+00:00

I have a page which has an Iframe. In that Iframe, there are six

  • 0

I have a page which has an Iframe. In that Iframe, there are six iframes. When I use

window.onload

or

document.observe(window, 'load', func) // of PrototypeJs,

does it mean that all the contents of Iframe and the other 6 iframes’ content have been loaded?

If the answer is not, then how can I be sure that all my iframes content have been loaded.

[The iframes inside the iframe does not have any src. I am filling those Iframes from database content.]

Thanks.

  • 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-13T20:55:31+00:00Added an answer on May 13, 2026 at 8:55 pm

    Resources in iframes/frames live in their own context and you can´t use window.onload in the parent document. Every document in the frames need to tell the parent document that they have loaded.

    One way to do this is have isLoaded flags in the parent document set to a falsy value and a window.onload event in every child document setting their isLoaded flag to truthy. Having a setInterval in the parent document checking these flags and once all are set do what you want.

    There are probably a million better solutions ^^ I just suggest a rough blueprint.

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

Sidebar

Related Questions

I have a page which has document.body.onload=function(){...} but this is suffering delays because the
i have one iframe on my page which has a different domain to that
I have an ASPX page which has an iFrame in it the source of
I have a page that has an embedded iframe doing ajax requests.... when i
in my job (intranet)- I have an aspx page which has many Iframes (
I have an app that has an IFrame with a page flash overly allowing
I have an Iframe inside of a page that has the src set to
I have a parent page which has an iframe and also has javascript which
I have a page that has a bunch of different iframes (A, B, C,
I have an ASPX page that redirects to a page that has an IFRAME

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.