reachanna.blogg.se

Iframe onload
Iframe onload











iframe onload iframe onload

This approach works well with RWA pages with lists to understand if e.g. This is how the app understands that the content of the iframe is fully loaded and ready for the subsequent work. In the other screen with the iframe, after I assign the URL of the page-to-be-printed to the src of the iframe, I check if the same message ('iframe-loaded') is received or not if received, I send the content of the iframe to print dialog:

This is to understand if loading of the page is finished so there is a counterpart "window.onmessage" in the other screen where this page-to-be-printed is loaded into an iframe, to catch this message.
0 kommentar(er)