• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

closing of popups

 
R . Ravi Kumar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please tell me any solution for closing popup windows that are
opened by the user. When the session expires or signed out from the application.


Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if you have the pop ups object then you just have to reference the names

example of a pop up
newWin = window.open("url","newWin");



example of closing it
if(newWin && !newWin.closed)newWin.close();

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic