• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1071
  • Last Modified:

test iframe load status

is there a way to test and see if an iframe is loaded
  • 2
2 Solutions
1. Use a javascript function to load the IFRAME.
2. In the IFRAME code have a hidden tag at the end of the page marked LOADED as this is at the end of the page you will be sure it is loaded,
3. From the main page check for a certain number of seconds if the IFRAME is loaded tag is there
4. After you have expired time, then redirect the frame to your client page.

This is a 30 second solution with no research, but it might help you.
ZvonkoSystems architectCommented:
do it like this:

<iframe onLoad="alert('Loaded. Do now what you want');"></iframe>

put something in the onload attribute of the iframe.
Sorry, stale window.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now