From the parent window, the child window must be opened using relative URL and not the absolute URL even though they belong to the same domain. By doing this, the 'access denied' error will not appear again. For example, lets say, the domain is
www.xyz.com; Parent:
productSearch = window.open("/search",'productsearch');
Child:
opener.document.forms[0].month.value=month;
(productSearch.opener = self; No need for this line). Note the relative path URL in the parent window script when opening a new window. If the same code in the parent window is written as
productSearch = window.open("http://www.xyz.com/search",'productsearch'), you will encounter 'Access Denied' error.
I have personally experienced this problem and solved it using the solution that I presented above. I am sure, it will work for you too. Best of Luck.
S.Mohamed Yousuff
Originally posted by Mary Mascari:
Tried it - no good.
Any other suggestions?