Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   JavaScript (https://www.askmehelpdesk.com/showthread.php?t=4486)

  • Aug 28, 2003, 08:32 AM
    jon_m212
    JavaScript
    I have a web page and its only function is to open other asp web pages I'm using some javascript to open the pages i.e

    <script language=javascript>
    Function openwindow()
    {
    Window.open("http://bahabahabah.asp")
    }

    </script>
    </head>
    <body>
    <script language=javascript>
    Openwindow();
    </script>
    </body>
    </html>

    Is there a way of firstly refreshing the page once it has loaded then closing the window I have just opened.

    If refreshing the page is not a possibility I could just open it back up again, but I really need it to close the windows once they are done.

    Also there are a lot more window.open ("") lines and I would like the same for all of them.

    Many thanks,

    John

  • All times are GMT -7. The time now is 01:33 PM.