Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Pop up window issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Pop up window issue" Watch "Pop up window issue" New topic

Pop up window issue

Bhoomika Bathla
Ranch Hand

Joined: Nov 28, 2009
Posts: 40
Hi All

Can i open a pop up window from a pop up window and when i close the second pop up window it should return to the first pop up window?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63874

There really isn't any concept of a "return" between windows. You could try to fool around with focus(), but you may not get the results you are seeking.

[Asking smart questions] [About Bear] [Books by Bear]
Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 204

You can do that... As Bear mentioned that there is nothing like a return between windows but I am sure the requirement you state can be achieved.
Can you elaborate on the problem statement?
I agree. Here's the link:
subject: Pop up window issue
It's not a secret anymore!