wood burning stoves 2.0*
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
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.

Consider Paul's rocket mass heater.
subject: Opening a Child Window, send URL back
Similar Threads
How to persist data of child window form
data from Child window to parent window
Opening a Child Window, send URL back
error in passing values from child window to parent window
Closing the child window should trigger some action in Parent window.