wood burning stoves 2.0*
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
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.
 
Similar Threads
Problem with html:errors
Close Popup and refresh parent
How to set a property's value thats part of a ArrayList using Javascript.
how to implement this in DHTML
keeping pop up window active until clicked