Results 1 to 4 of 4

Thread: Windows

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    89

    Windows

    Hi i have an asp page where the user will click on a link and another window will open. They will make a status to field, hit save and then the new window should close and it should refresh the calling page so that the page will be repopulated from the database. The question I have is how do i get the new window to refresh the calling window. I am using the following code to open up a new window.

    function open_window(url) {
    mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable= 0,width=520,height=350');
    }

    Thanks

    Scott

  2. #2
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189
    use this code in your Child window right before you close it:


    Code:
    window.parent.location.reload();
    www.HardFind.com -buy/sell/trade your used hardware.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Posts
    89
    It worked, thanks for the help. I also sent an alert back notifying the user that the change was accepted by the database.

  4. #4
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189
    glad i could help....
    www.HardFind.com -buy/sell/trade your used hardware.

Posting Permissions

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



Click Here to Expand Forum to Full Width