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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Window Opener With Frames 1

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
Help!!

I have a parent window that opens a child, when I close the child (via a button) , it calls a function. I want that function to submit a form on my parent window. But the form exists on a frame called "Search" on the parent window. I cant seem to reference to the frame correctly, heres what I have so far:

window.opener.window.frames.item("search")

I get an error.

(I want the 2nd frame, if that helps)
Can anyone help??

Thanks in advance
 
if you've named that frame "search", then you should be able to do this:

window.opener.parent.top.search;

or this:

window.opener.parent.top.frames[1]; =========================================================
while (!succeed) try();
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top