Everything Jonathan
A collection of all my knowledge, thoughts and ideas.
Pages
Home
About This Blog
My Pilosophy (我的哲学)
New PCN on Bikes How to Use
Monday, November 22, 2010
Close top window automatically without prompt
In IE6 I used to do this
window.opener="x"
window.close()
The window will close nicely without prompting.
In IE7 it will not work. Instead use the following
window.open('','_self','');
window.close()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment