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


P: 84
I am trying to close the window through JS but IE always ask me for confirmation. Is their a way to do it without IE asking the user for confirmation.
Jan 10 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 5,333
no ... you cannot close the main browser-window silently through javascript ... and you shouldn't :) ... since the user opened it and he should know when it will be closed. you may close all windows that are opened by your script ... :) but not the main-window ...

kind regards
Jan 10 '08 #2

Post your reply

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