Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: close and refresh


Message #1 by bacster@o... on Sat, 22 Jun 2002 03:37:27
Works a treat.  Thanx

> something like this should do it for you:

function reloadOpener() {
 self.close();
 opener.location.reload(true);
}


----- Original Message -----
From: <bacster@o...>
To: "javascript" <javascript@p...>
Sent: Saturday, June 22, 2002 3:37 AM
Subject: [javascript] close and refresh


> Hi Folks
>
> I need a javascript that will allow me to open a popup, close
> automatically when a selection is made and then refresh the parent window
> automatically.  I want to achieve this without using buttons.  All my
> other scripts are written in vbscript (if that helps).
>
> I use top.close for the auto closing on the child.  I just need some way
> of enabling the refresh/reload.
>
> Thanx
>
> Joe
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
> r-20
> Practical JavaScript for the Usable Web
> http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or
> to unsubscribe send a blank email to

>


  Return to Index