|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Refresh Seperate Window
I have a popup window that adds something to the database. Is there a way to make a seperate window refresh on close of the popup?
|
|
#2
|
|||
|
|||
|
RE: Refresh Seperate Window
if Javascript is an option and the window you want to refresh is the parent of the popup then use an onUnload event in the body tag and refresh the opener. it would look something like this
<body onUnload="window.opener.location.reload();"> That will refresh the current page in the parent browser. |
|
#3
|
|||
|
|||
|
RE: Refresh Seperate Window
Thx Eddie,
Yes I was thinking Java and yes it is the parent window that spawned the popup. I will give that a try. I try my hardest not to use Java so it is a weak point of mine. Now the script you display, should it be in the popup window or the parent? |
|
#4
|
|||
|
|||
|
RE: Refresh Seperate Window
you would put it in the popup window so when the popup is closed, then the location.reload() is executed on the parent (or opener) window.
|
|
#5
|
|||
|
|||
|
RE: Refresh Seperate Window
Thank You very much
~Cow |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Refresh Seperate Window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|