Results 1 to 2 of 2

Thread: window.close()

  1. #1
    Join Date
    Jun 2005
    Posts
    14

    Default 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.

  2. #2
    Join Date
    Jul 2005
    Posts
    9

    Default

    the warning message can comfirm you to close or not the window, so i think get it is better.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •