aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Passing values from child popup window to parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Passing values from child popup window to parent window" Watch "Passing values from child popup window to parent window" New topic
Author

Passing values from child popup window to parent window

Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 263
Dear Ranchers,

I am developing a system where the parent window which opens the pop up is in the iframe tag. Once the link is activated, it will open the pop-up window and with a iframe in it. There is a list which I am populating from the database to the iframe. Each row has a include link where, the user clicks it, it has to load the corresponding values to the parent text field.

I am using java script to do this and it is giving me an error message


The code I am using is as below.



Please help me, to solve this issue.

Regards

Aravind Prasad
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
if it is in the iframe in the child, you need to use parent.

parent.window.opener...

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing values from child popup window to parent window
 
Similar Threads
Reloading a parent window 1 after submit from window 2
How to include a javaScript file inside XSLT file?
I keep getting on Javascript Error on the bottom left of IE
Problem with pop-up window
Using ajax in myfaces tomahawk.