Link to home
Start Free TrialLog in
Avatar of DevinFischer
DevinFischer

asked on

Reload window from another window.

ok, so I have three windows.

tom, larry, and steve

tom opens larry with the funct1 function:
<SCRIPT>
function funct1(){
var tomurl="page1.asp"
tom=window.open(tomurl,"tomwin","width=750,height=550,")
}
</SCRIPT>

tom opens larry with the funct2 function like this:

<SCRIPT>
function funct2(){
var larryurl="page2.asp"
larry=window.open(larryurl,"larrywin","width=750,height=550,")
}
</SCRIPT>

Now larry opens a third window with:

<SCRIPT>
function funct3(){
var steveurl="page3.asp"
steve=window.open(steveurl,"stevewin","width=750,height=550,")
}
</SCRIPT>

What function would I have to write to reload larry from steve????

I have tried:
<SCRIPT>
function funct4(){
larry.location.reload()
}
</SCRIPT>

What am I doing wrong???   Please help!!!
Avatar of Opoonam
Opoonam

hello,

Use parent keyword not larry.  larry is parent window for steve.

best luck!
ASKER CERTIFIED SOLUTION
Avatar of TallerMike
TallerMike

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
right!
Avatar of DevinFischer

ASKER

Thank you for your help!!!