Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: refresh problem

  1. #1
    New to the CF scene
    Join Date
    Sep 2003
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    refresh problem

    I am getting list of projects in one page,clicking on that project link update project details showing in popup window,after changing the detail cliking on update button,updating the details and closing popup window,after that list of project should be updated,it is updating in database,but list of projects page is not refreshing.

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    coul you detail, please? And show us either a code or an URL to see?
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,966
    Thanks
    0
    Thanked 236 Times in 233 Posts
    how about this?

    Code:
    
    Server-side codes here to update project in the database...
    
    <html>
    <head>
    <title>Project updated successfully.</title>
    <script type="text/javascript">
    function doClose(){
      if (window.opener && !window.opener.closed) window.opener.reload();
      window.close();
    }
    </script>
    </head>
    <body onload="setTimeout('doClose()', 2000)">
    Project updated successfully.
    <form>
    <input type="button" value="Close" onclick="doClose()">
    </form>
    </body>
    </html>


  •  

    Posting Permissions

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