Iframe onload Example 6

This example dynamically creates an iframe and assigns a function to its onload event handler for IE and non-IE browsers. The local iframe loads a file with the same domain as the containing page while the foreign iframe loads search.yahoo.com.

Back to the blog post