codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Refresh parent page  eshwar_gp at 09:59 on Thursday, April 07, 2005
 

Hi,

My current page launches a small popup where information can be edited via a few text inputs. After the info is updated, the window reloads and shows a message along with a "close window" link.

Currently clicking the link closes the window using self.cose(), but I would like to be able to refresh the page that launhced the popup so that it displays the updated information



Thank you


  Re: Refresh parent page  dev_noob at 18:34 on Friday, April 08, 2005
 

in your popup page use
<javascript>

function closePopup()
{
window.opener.document.location.reload();
/* OR window.opener.document.location.href='myParentWindow.newpage'; */
self.close ()
}
</javascript>

  Re: Refresh parent page  eshwar_gp at 13:55 on Tuesday, April 12, 2005
 

Thank you for your valuable reply.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  i want to execute an url using javascript
•  Re: Connecting MS Access Database in ASP.net - C#
•  Re: Conversion
•  Re: tester class and then some.
•  Re: Game - illegal combination of modifiers
•  Using Selection sort for a linked list
•  SMSLib
•  Issues in JRE 1.5.0_06
•  login session problem in jsp


Recent Articles
What is a pointer in C?
Multiple submit buttons with form validation
Understanding Hibernate ORM for Java/J2EE
HTTP screen-scraping and caching
a javascript calculator
A simple way to JTable
Java Native Interface (JNI)
Parsing Dynamic Layouts
MagicGrid
Caching With ASP.Net


© Copyright codetoad.com 2001-2006