Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting data from the opener window

Status
Not open for further replies.

jay25

MIS
Jun 17, 2002
16
US
I am trying to get some data from the opener window, like form values, without adding any code to the opener. I tried this:
Code:
alert(opener.form1[0].value);
and
Code:
alert(opener.document.form1[0].value);
and
Code:
var a = opener.document.form1[0].value;
alert(a);
None of this seems to work. It's probably something easy, but I just don't know how to do that.
Thanks.
 
Never mind! It does work. I had made a mistake somewhere else!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top