plusnplus Posted June 4, 2010 Share Posted June 4, 2010 Hi.., I have script like: <script type="text/javascript">setTimeout(window.close, 2000);</script> it is working if run in my test server(windows XP), but not working in my live server(ubuntu 8.04). Any idea what is wrong? thanks for any help/ reply Quote Link to comment https://forums.phpfreaks.com/topic/203844-close-window-after-x-seconds-not-working-in-linux-server/ Share on other sites More sharing options...
trq Posted June 4, 2010 Share Posted June 4, 2010 Considering that Javascript executes within the browser, you can rule out any server differences from the equation. Quote Link to comment https://forums.phpfreaks.com/topic/203844-close-window-after-x-seconds-not-working-in-linux-server/#findComment-1067644 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.