• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CLOSE WINDOW

 
MIA MIA MIA
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:
I have a window with two frames. If I execute self.close() in the frame of the left, only close the frame of the left, the frame of the rigth continue open.
How I can close the window in the frame of the left?
Regards Roberto.
 
Tony Ge
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code is:
parent.close();
 
MIA MIA MIA
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tony, but I execute you code and only close the frame of the left, too I ecxecute : window.close and neither run.
 
Brian Blesbok
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try running the code in the top window that defined the frameset.
you could define a method in the top window called closeMe() and in that method you would have:
self.close();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic