I have an iframe tag loading additional content from another source. The embedded document performs an automatic form submission using something like <body onload="document.getElementById('form').submit()>...</body>
.
Is there any way to detect when the internal form submission finishes? I tried the onload event of the iframe but apparently it doesn't wait for the embedded javascript.
And more generally, would it be possible to detect when the internal page finishes what it actually intends to do (e.g. form submission, heavy lifting javascripts, etc) for an iframe?