Hello.
Im having a bit of a dilema.
Im opening a pop up window from inside an iframe.
The popup contains this code
<script language="JavaScript" type="text/javascript">
var myTimeout=setTimeout("closeWindow()",3000);
function closeWindow() {
window.opener.location.reload();
window.close();
}
</script>
This closes it and reloads the iframe, but what I want it to do is reload the entire page that the iframe is on instead.
Any ideas? Thank you.
Im having a bit of a dilema.
Im opening a pop up window from inside an iframe.
The popup contains this code
<script language="JavaScript" type="text/javascript">
var myTimeout=setTimeout("closeWindow()",3000);
function closeWindow() {
window.opener.location.reload();
window.close();
}
</script>
This closes it and reloads the iframe, but what I want it to do is reload the entire page that the iframe is on instead.
Any ideas? Thank you.