...

View Full Version : Refreshing parent window from child window



DsgnrsTLZAdmin
03-22-2004, 03:22 PM
How do you refresh a parent window from a child window?

Nightfire
03-22-2004, 03:41 PM
It's something like


opener.refresh()

But I'm a bit rusty and am probably wrong

DsgnrsTLZAdmin
03-22-2004, 04:16 PM
i doubt its that...i think its something like...


parent.window.refresh();

not sure though..

Choopernickel
03-22-2004, 04:29 PM
Nightfire's correct IF you refer to parent/child as related via window.open().

Dsgnrs is right IF you refer to parent/child as related via framesets - though you don't need the 'window.' bit: parent.refresh() is the same statement, on the same object.

DsgnrsTLZAdmin
03-23-2004, 04:10 PM
Neither one works

liorean
03-23-2004, 05:16 PM
[object Window].location.reload()

DsgnrsTLZAdmin
03-23-2004, 06:18 PM
I tried parent.location.reload() but it refreshes the child window..

DsgnrsTLZAdmin
03-23-2004, 06:23 PM
Played around with it a bit and its:


window.opener.location.reload(true)


thanks anyway:thumbsup:

codemobile
10-03-2008, 01:07 PM
http://developmentzone.blogspot.com/2008/09/refresh-parent-window-on-child-window.html



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum