Automatically Invoke Page Refresh

Results 1 to 3 of 3

Thread: Automatically Invoke Page Refresh

  1. #1
    Join Date
    Dec 1969

    Default Automatically Invoke Page Refresh

    On a web site I am building I have a page that displays some information and at the click of a button a user can open a small separate second window to update some information on the first page.<BR><BR>After the changes have been saved the second window then closes, but the main window needs to be refreshed in the browser in order to reflect the changes made to it.<BR><BR>Is there any way of getting the second window to invoke the first to refresh itself as it closes.<BR><BR>Any help you can give would be greatly appreciated.<BR><BR>Regards,<BR>Jarvis

  2. #2
    Joey Guest

    Default RE: Automatically Invoke Page Refresh

    Here is the code to do that. Just have this run after you are done with the insert. It will close the window and refresh the parent window.

  3. #3
    Joey Guest

    Default RE: Automatically Invoke Page Refresh

    Sorry I forgot the code.<BR><BR>&#060;script language="JavaScript"&#062;<BR><BR> window.opener.location.reload()<BR><BR>self.close( );<BR>&#060;/script&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts