This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Fetching Pop up window form values in Parent Window. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Fetching Pop up window form values in Parent Window." Watch "Fetching Pop up window form values in Parent Window." New topic
Author

Fetching Pop up window form values in Parent Window.

Parveen Aggarwal
Greenhorn

Joined: Jun 08, 2004
Posts: 7
Hi Ryan and Nate,

Couls you please help me out by telling how to fetch the value of POP up window form element in the parent window.

As i am struglling hard to get this thing done.

Pls help me out of this.

In my case i want to fetch the value of pop up window form element in the parent window whenever any click event is happening in the parent window and pop up getting opened.

Looking forward for your reply..

regarsd,
Parveen
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
This has nothing to do with the Ajax book!

From the pop up you can get the value by doing

var strValue = window.opener.document.formName.elementName.value;

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fetching Pop up window form values in Parent Window.