Parent Page refresh problem

srikanth

New member
Joined
Dec 27, 2005
Messages
1
Programming Experience
1-3
hi allI have a page(Parent page) which refreshes every 60 seconds(using Meta Refresh). This page has links to open popup child windows . The child windows read user data ,process it and at the end refresh the main page and closes itself. In Parent page iam using in child windows iam using the javascript opener.location.reload(); self.close();This works fine when the child window processes and closes before the parent page refreshes itself.But if the Parent page refreshes itself before the child window tries to refresh , then i get a MicroSoft JScript runtime error :permission denied ( at the line "opener.location.reload();")I have tried using the following but it didnt work outif(window.opener && !window.opener.closed)Can any body suggest how to avoid this error. This is a serious requirement for my application to refresh the parent window on close of child window Thank you in advancesrikanth
 
Back
Top