[thelist] JS Popup won't close with window.close()
CDitty
mail at redhotsweeps.com
Sun Apr 29 20:12:37 CDT 2001
I am trying to close a popup window with some JS (see below) but it is not
working. I don't seem to be getting an errors. Anyone see anything wrong
with either example?
<script language="javascript">
<!-- HIDE FROM OLD BROWSERS
alert("You have played your alloted plays today.\nPlease
play again tomorrow.");
window.close();
// END HIDING -->
</script>
<script language="javascript">
<!-- HIDE FROM OLD BROWSERS
alert("You have played your alloted plays today.\nPlease
play again tomorrow.");
self.close();
// END HIDING -->
</script>
Thanks
CDitty
More information about the thelist
mailing list