Results 1 to 2 of 2

Thread: slow loading/refresh problem

  1. #1
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default slow loading/refresh problem

    Not sure if my problem is in my php or my javascript, but here goes.

    I have page 1 that has my form and below that fields that I populate from a mysql DB. The user can click on "add employee". here page 2 pops open with a list of employees, the user checks the employee they want to add, then when they click add the window closes and page 1 should refresh and show the new user below the form. Here is where my problem is... after page 2 closes, page 1 goes blank and sits there reloading until I get a network error. After that error I can view the page with the new employee has been added.
    Anyone know whats going on?

    On page 1 i'm using window.open

    My reload code on pg. 2 is:

    Code:
    <script language="JavaScript" type="text/javascript">
    <!--
        opener.location.reload(true);
        self.close();
    // -->
    </script>
    I'm using a left join to display the employees, would that be slowing everything down?

    Thanks

  2. #2
    Join Date
    Dec 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    how do you pop-up page 2?

Bookmarks

Posting Permissions

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