Click to See Complete Forum and Search --> : reload a frame from a new window


cipi
07-16-2003, 07:21 AM
In a similar post I asked how can you reload a frame from a pop-up and close the pop-up.

The solution was :
<form>
<input type="button" onClick="opener.parent.mainFrame.location.reload();window.close();" value="Close and reload">
</form>

Now I need to do the same thing but from a window opened from a link with "target=blank".

I have to inform you that in the new window I do some changes so the url changes. The button "Close and reload" appears on the last url.

Thanks

pyro
07-16-2003, 09:52 AM
I don't think you can do that, because a window opened that way has no relation to the opener.

cipi
07-16-2003, 09:56 AM
Isn't it possible to do it using the name of the window and not using the opener method?

Khalid Ali
07-16-2003, 09:58 AM
if you use
window.open() then you can do almost anything you want...else nothing..:D

cipi
07-16-2003, 10:01 AM
Than i will use the window.open with 800X600 resolution and all the other feature to "yes" .

Thanks