File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes pass control from child page to parent page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "pass control from child page to parent page" Watch "pass control from child page to parent page" New topic
Author

pass control from child page to parent page

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
I have a situation like this -

On the click of a button in the main page, I need a javascript function to pop up a window. This window will be a form, with two radio buttons. As soon as the user clicks on a radio button and submits, the new page should open up in the main window.

That means, the control should move from child window to parent window. The child window should close.

Any ideas on how to do this?


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60045
    
  65

The opener variable will give you a reference to the opening window object.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pass control from child page to parent page
 
Similar Threads
error in passing values from child window to parent window
Add and Edit a row
parent form reload?
Javascript child window
call one jsp's java script function to another jsp's javascript function