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,"to mwin","wid th=750,hei ght=550,")
}
</SCRIPT>
tom opens larry with the funct2 function like this:
<SCRIPT>
function funct2(){
var larryurl="page2.asp"
larry=window.open(larryurl ,"larrywin ","width=7 50,height= 550,")
}
</SCRIPT>
Now larry opens a third window with:
<SCRIPT>
function funct3(){
var steveurl="page3.asp"
steve=window.open(steveurl ,"stevewin ","width=7 50,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!!!
tom, larry, and steve
tom opens larry with the funct1 function:
<SCRIPT>
function funct1(){
var tomurl="page1.asp"
tom=window.open(tomurl,"to
}
</SCRIPT>
tom opens larry with the funct2 function like this:
<SCRIPT>
function funct2(){
var larryurl="page2.asp"
larry=window.open(larryurl
}
</SCRIPT>
Now larry opens a third window with:
<SCRIPT>
function funct3(){
var steveurl="page3.asp"
steve=window.open(steveurl
}
</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!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
right!
ASKER
Thank you for your help!!!
Use parent keyword not larry. larry is parent window for steve.
best luck!