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
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 258
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: 15357
    
    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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Passing values from child popup window to parent window
 
Similar Threads
I keep getting on Javascript Error on the bottom left of IE
Problem with pop-up window
How to include a javaScript file inside XSLT file?
Reloading a parent window 1 after submit from window 2
Using ajax in myfaces tomahawk.