gbhagia
12-04-2003, 01:45 AM
Hi,
I am having this weird problem. I am trying to resize the opener window using window.opener.resizeTo function. It works fine on my server (nothing to do with browser) and my clients development server but throws an "Access is Denied" JS error on their Test server even when i am using the same browser. Please help as my client is sitting on my head for this to get resolved.
Code:
if(window.opener && !window.opener.closed){
window.opener.resizeTo(750,500);
window.opener.location = "someURL";
}
else
window.open("someURL", 'HHEnrollment','width=750,height=500,resizable=Yes,scrollbars=yes');
self.close();
Thanks.
I am having this weird problem. I am trying to resize the opener window using window.opener.resizeTo function. It works fine on my server (nothing to do with browser) and my clients development server but throws an "Access is Denied" JS error on their Test server even when i am using the same browser. Please help as my client is sitting on my head for this to get resolved.
Code:
if(window.opener && !window.opener.closed){
window.opener.resizeTo(750,500);
window.opener.location = "someURL";
}
else
window.open("someURL", 'HHEnrollment','width=750,height=500,resizable=Yes,scrollbars=yes');
self.close();
Thanks.