sjeelani
10-15-2003, 03:43 PM
Hi,
I have three windows namely GrandParent (GP), Parent (P) and Child (C). All the three windows are pop-up windows.
I want to refresh Parent pop-up window when I open the child window. The requirement is to fill the radio button of that particular child window URL, when user clicks on the URL.
I used the following code:
OpenChildWindow() {
window.open("theurl", "windowname","location properties");
parent.location.reload(true);
}
I also tried self.parent.location.reload(ture), self.opener.parent.location.reload(ture)
the code sometimes works, but sometime doesnt refresh.
I tested in IE6 and Netscape 7.
Any help will be appreciated.
Thanks,
Jeelani
I have three windows namely GrandParent (GP), Parent (P) and Child (C). All the three windows are pop-up windows.
I want to refresh Parent pop-up window when I open the child window. The requirement is to fill the radio button of that particular child window URL, when user clicks on the URL.
I used the following code:
OpenChildWindow() {
window.open("theurl", "windowname","location properties");
parent.location.reload(true);
}
I also tried self.parent.location.reload(ture), self.opener.parent.location.reload(ture)
the code sometimes works, but sometime doesnt refresh.
I tested in IE6 and Netscape 7.
Any help will be appreciated.
Thanks,
Jeelani