This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Problem in passing values to the parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Problem in passing values to the parent window" Watch "Problem in passing values to the parent window" New topic
Author

Problem in passing values to the parent window

Shashidahanu Iyyanar
Ranch Hand

Joined: Jun 22, 2005
Posts: 37
Hi All,
I have parent window with a link "add products" which will open a child pop-up window.In child window, I get information from database and display them in a table. The user selects one or many products using check boxes and presses the "select" button in the child window.

Once the products are selected from child window, I have to display those selected products in main or the parent window.

How can I do that using Javascript? Could you please give some suggestions.
A example would be much better.Thanks in advance.
Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
this has been discussed many times.
i think i replied to this a few days back itself.

http://www.coderanch.com/t/112806/HTML-JavaScript/data-Child-window-parent-window

http://www.coderanch.com/t/115993/HTML-JavaScript/returning-value-popup

or just search for posts with the words window.opener.
you will find many solutions.


Life called,so here I am.<br />Cheers<br />Niki.:-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in passing values to the parent window
 
Similar Threads
How to open New Window from another window in struts 2.0 without using windows.open
reload Window
dynamic DIV tag
Add and Edit a row
Passing values from child to parent window