JavaScript problem : Corresponding Parent window not geting refreshed.
I have a strange problem with the application that iam developing. OK let me explain the scenerio...
I have an application which is built in JSP infact with JavaScript validation for the form entries. Now i open two instances of this application in two seperate IE browsers, lets say i opened the application in Window1 and Window2. In the application i have a link which opens a POPUP window. This POPUP is nothiing but a form with JavaScript validations. When i submit this form i want the information in the corresponding parent window to be refreshed and POPUP closed.
Now here is my problem. When i open the POPUP in Window1 and after submiting, the parent window ie Window1 gets refreshed. But if I open the POPUP in Window2 and after submiting , the Window1 is geting refreshed instead of Window2. I tried the following JavaScript code segments, but didnt work.
window.opener.location.reload(1);
self.close();
Now the solution that i want is either the corresponding window that opened the POPUP should be refreshed or both(or all) the instances of the application should be refreshed instead of only refreshing the first window that was opened.
Thanks in advance,
Jejo.

