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

Child Refresh.

Status
Not open for further replies.

Deltaflyer

Programmer
Oct 11, 2000
184
GB
I have a page that opens a child window, i want to be able to update the child window location from the parent window. How do i achieve child.location.href="xyz"?

Thanks, DeltaFlyer
The Only Programmer To Crash With Style. LOL
 
just like you wrote it !!!
say you opened the child with :
child = window.open(....);
now to change its location
child.location=... (or child.location.href or child.document.location ... depending on the dom ;] !)
 
you should be carefull using predefined words as variable names tho.

child is used by ie 5 and up (and maybee 4 also) to refrence child windows and divs. theEclipse
eclipse_web@hotmail.com
Icq: 124408594
online.dll

AIM & MSN: robacarp
 
Thanks iza, it was the child=window.open(...) part of the equation that i couldn't master.

Thanks also eclipse, a useful tip. DeltaFlyer
The Only Programmer To Crash With Style. LOL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top