By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,594 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

how to close browser window (NO BUTTON)

P: 1
im making a fun website and what i want to do is to close a browser with out a close button after the java script alert with out a confirmation pls help?
Mar 6 '13 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
You can close a window which you've opened in your script, but not the window which loaded the original page, at least not reliably.

PS. moved to JavaScript forum.
Mar 7 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.