Hi,
I'm trying to close a popup window when a link is clicked, and reload the parent window. However, this doesn't seem to work:
Its fine in FF, but IE is being crappy (as always ), and refuses to play ball.
Any suggestions?
TIA
Andy
I'm trying to close a popup window when a link is clicked, and reload the parent window. However, this doesn't seem to work:
Code:
<script>
function reload_and_close() {
window.opener.location.reload();
self.close();
}
</script>
<p>[ <a href="#" onclick="reload_and_close();">close window</a> ]<p>
Its fine in FF, but IE is being crappy (as always ), and refuses to play ball.
Any suggestions?
TIA
Andy