-
window.close()
When you want to close the browser itself by JavaScript's "window.close();" , and it was not opened by another browser window, you will be getting a warning message if you are on IE.
However, if you put
"window.opener = "whatever";"
before calling window.close(), you won't get a warning message.
-
the warning message can comfirm you to close or not the window, so i think get it is better.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks