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 Opening a Child Window, send URL back 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 "Opening a Child Window, send URL back" Watch "Opening a Child Window, send URL back" New topic

Opening a Child Window, send URL back

Andy Pearlman

Joined: Dec 21, 2005
Posts: 2
I've been trying to figure out how to do this, but with no luck. I want to do the following:
Open a Child Window. This window will call an swf file that will let the user make various selections and then click on a button in Flash. I'm reasonably certain I can make this work if I know the 2nd part...

What I want to happen is that when someone clicks on that button, it switches back to the parent window and calls a new URL based on their selections. And without closing the child window.

Can anyone help?

Thanks in advance,

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
window.opener.location.href = "asdf";

problem is that if you change the url of the parent, it looses connection with the child window.

wood burning stoves
subject: Opening a Child Window, send URL back
Similar Threads
Opening a Child Window, send URL back
error in passing values from child window to parent window
data from Child window to parent window
Closing the child window should trigger some action in Parent window.
How to persist data of child window form