A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Fetching Pop up window form values in Parent Window.
Joined: Jun 08, 2004
Nov 14, 2005 23:01:00
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..
Joined: Nov 08, 2001
Nov 15, 2005 07:01:00
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;
It is sorta covered in the
JavaRanch Style Guide
subject: Fetching Pop up window form values in Parent Window.
Problem with html:errors
keeping pop up window active until clicked
how to implement this in DHTML
Close Popup and refresh parent
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014