• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

window.close()

 
Fernando Dominguez
Ranch Hand
Posts: 104
Debian Eclipse IDE Firefox Browser
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Hello, I'm triying to close a window that I have opened (as a popup window) using window.close() but It
doesn`t work on Internet explorer (it works on firefox)

Here is the code

Thaks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am surprised that it works in Firefox, you must have it set to do it.

It is a security setting to keep you from destroying a person's history, removing toolbars, etc. Leave the window alone! Plus what happens if a pop up blocker would block the pop up and also close the window.

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic