C
ch.funke
Hello,
with:
window.setTimeout("document.myform.submit();",500);
I shoot a formular which posts some data. The target is an iframe. Now
I would like to "wait" until the iframe is read with page loading/
processing the data, then immediately do some other things, let's say
show an alert.
At the moment I do with:
window.setTimeout("alert('hi')",8000);
knowing that also on slow connections the iframe is ready after 8
seconds. But I want to optimize this to fire the alert directly when
the frame is "ready". I have NO influence of the content of the page
which is loaded into the iframe and I can't change something on that.
What I need is a check if the iframe-status is "ready" or "200" or
something like that...
Thanks for any help in advance.
Kind Regards,
Christian Funke
with:
window.setTimeout("document.myform.submit();",500);
I shoot a formular which posts some data. The target is an iframe. Now
I would like to "wait" until the iframe is read with page loading/
processing the data, then immediately do some other things, let's say
show an alert.
At the moment I do with:
window.setTimeout("alert('hi')",8000);
knowing that also on slow connections the iframe is ready after 8
seconds. But I want to optimize this to fire the alert directly when
the frame is "ready". I have NO influence of the content of the page
which is loaded into the iframe and I can't change something on that.
What I need is a check if the iframe-status is "ready" or "200" or
something like that...
Thanks for any help in advance.
Kind Regards,
Christian Funke