refresh main from another window not opened by main

They have: 12 posts

Joined: Oct 2000

ok heres a toughy (at least for me)

ok from the main window i have a script that opens another window (window2) and then window2 does a few things and when it closes, it opens window3 (i know this sounds annoying but it is necesary, and it is on an intranet anyway so if they get annoyed, oh well)
my question is, how can i refresh the main window from window3. i can't use "opener.location.reload()" because the main window didnt open window3, window2 did.
any body have any suggestions???

i have also tried
main.location.reload()
that didn't work either

Give me what I want, and I'll go away!

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

When you load the document itself, name the window in the JavaScript...

window.name = "currentWindow";

Then you can control it by name.

Smiling Suzanne

They have: 12 posts

Joined: Oct 2000

thanks i will try that when i get back to work on monday....

They have: 12 posts

Joined: Oct 2000

nope.. that didn't work... unless i am doing it wrong..

but i may have come up with a better solution to my problem..

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.