File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 60752

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] [Bear's FrontMan] [About Bear] [Books by Bear]
Sai Hegde
security forum advocate
Ranch Hand

Joined: Oct 26, 2010
Posts: 199

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?
Consider Paul's rocket mass heater.
subject: Pop up window issue
Similar Threads
javascript:window.close() not working in firefox
setInterval Overhead
Hide Standart Buttons in Taskbar
Popup window jsp page
Reloading a parent window 1 after submit from window 2