Boffin Boffin - 1 year ago 89
Javascript Question

Jquery. Execute code only when all iframes are loaded

$(document).ready(handler)

call to handler when page is loaded not paying attention to whether iframes' content is loaded or not. I want code to be executed only when content of all iframes loaded.

Is there any way to achieve this?

Answer Source

This may help solve your problem:

jQuery .ready in a dynamically inserted iframe