Iframe onload Example 4

This example dynamically creates an iframe and assigns its src to a local resource. Both this page and the iframe page have their document.domain properties set to "nczonline.net". The iframe page notifies the containing page when it's completely loaded. This only works for local resources but does work in all browsers.

Back to the blog post