[Javascript] pop ups

Andrew Gibson andyg at ihug.co.nz
Thu Apr 5 16:43:31 CDT 2001


Thanks, I found this worked pretty well, as I wanted
the user the option of refreshing or not. This way I could
also specify the div I wanted to be visible when the page
refreshed.

 function refresh()
 {
 opener.location='default.asp?div=favourites'
 close()
 }

Bob, you said you normally wouldn't use pop ups for database
stuff?
Wondering why....in this case its a site I can stipulate requires
Javascript  ?

Andrew



 > > > I have a window which pops up to
 > > > confirm a database insertion.....
 > > >
 > > > When the user closes that window, I
 > > > want the original window to be refreshed
 > > > to reflect the changes,
 >
 > <BODY onUnload="opener.location.reload(true)">
 >
 > ppk
 > _________________________________________________________________________





More information about the Javascript mailing list