How to refresh the parent window when the child window is closed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srinivasyadavkota
    New Member
    • Sep 2007
    • 8

    How to refresh the parent window when the child window is closed

    Hi Experts here,
    Pls help.

    I have opened the child window from the parent window.How to refresh the parent window when the child window
    is closed.

    Please help me.

    Thanks and Regards,
    Srinivas Kota.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Either:
    1. use window.opener.r eload(); from the child window onunload; or
    2. check periodically from the parent that the child window still exists. If it doesn't, reload.

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Originally posted by acoder
      Either:
      1. use window.opener.r eload(); from the child window onunload; or
      2. check periodically from the parent that the child window still exists. If it doesn't, reload.
      Sorry, that should be window.opener.l ocation.reload().

      Comment

      Working...