|
-
Jun 7th, 2001, 10:22 AM
#1
Thread Starter
Lively Member
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
-
Jun 7th, 2001, 11:38 AM
#2
Addicted Member
use this code in your Child window right before you close it:
Code:
window.parent.location.reload();
-
Jun 8th, 2001, 01:16 PM
#3
Thread Starter
Lively Member
It worked, thanks for the help. I also sent an alert back notifying the user that the change was accepted by the database.
-
Jun 8th, 2001, 02:06 PM
#4
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|