• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in passing values to the parent window

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this has been discussed many times.
i think i replied to this a few days back itself.

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

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

or just search for posts with the words window.opener.
you will find many solutions.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic