Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Re: refreshing a parent window from its child?


Message #1 by white@q... on Wed, 15 Aug 2001 18:56:19
I have a webstie that does this, on the child window, when i want to 
update the parent window I use "window.opener.location.reload()" or you
can put the submit function the parent window, like "function Reload()" 
and call it from the child by calling window.opener.execScript("Reload
()", "javascript")

hmmm, not sure if you need the quotes are the function name parameter or 
not?  I forgot.



> Is there a way to refresh a parent window using javascript from the child
> window?  Meaning the parent window is a window that has created a window
> using window.open and that window being its child.
> 
> I have a rather large <form> and I am trying to break it up into 
multiple parts.
>  Different sections are being editable using child windows.  After the
> given section is processed, I would like the child window to "refresh" 
its
> parent to reflect the changes and then close itself.
> 
> I know closing the window is quite simple, but I can't seem to get the
> parent to refresh.  I'm pretty sure I've seen this done using javascript,
> but I'm having problems.  Any thoughts?
> 
> Thanks


  Return to Index