Iframe onload Example

This example dynamically creates an iframe and assigns a function to its onload event handler. Non-IE browsers will display an alert when the frame is completely loaded. 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