HOW to move back to the previous window and refresh it.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yash777
    New Member
    • Mar 2008
    • 20

    HOW to move back to the previous window and refresh it.

    actually,

    i updated database with pop up window and after updation i have to move back to the parent window.

    i solved the first question by closing the popup window.
    but how refresh the previous window to reflect the changes??????

    can we do it with session variable???

    (i know i m not the one to decide but i do not have a helpful code)

    Any solution....... .
  • yash777
    New Member
    • Mar 2008
    • 20

    #2
    got the solution,

    we can do it as follows:

    Code:
     
    <script language="JavaScript" type="text/javascript">
    opener.location.reload(true); 
    self.close();
    </script>
    Last edited by DrBunchman; May 5 '08, 10:04 AM. Reason: Added code tags - note the # button

    Comment

    Working...