parent window open child window

javascript, jsp

Solution

- You use window.open method to open a child window and store the returned reference to interact with it later.

- You use the window.parent property from the child window to access the parent window.

Here is an article demonstrating the approach.

Problem

I want a page that open child window. The child window will be redirect to other website for processing. The other website will send the result to our server by redirect on the child window.our server will process the result and return to parent window and close the child window. Can it be done and how?

Original source