Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in passing values to the parent window

 
Shashidahanu Iyyanar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic