Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to close child window

 
jyothsna kumari
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a parent asp page.on clicking a button on that page a popup window comes out.that popup window is refreshed every second.and at a particular point i want the popup window to be closed and the parent window to appear.
i am using self.close()in popup window. it is not functioning
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the child windoe you can use
window.close()
in the parent you can use it by
WindowObjectName.close();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic