hI
HOW CAN I JAVASCRIPT IF THE CHILD WINDOW SHOULD GET AUTOMATICALLY CLOSED IF PARENT WINDOW HAS BEEN ALREADY CLOSED.
IE if i have one form in that form i m opening one new form, then how can i get closed it if de parent window has already been closed.
will u seek inside with snippet of de code?
DEV/"
Subject: Simple java scripts!!
Hi Dev
I’m not sure at all, but I would try something like that (in the child window) :
setInterval(“myFunction(window.opener)”,1000);
where myFunction tries to get something in the opener window object, and closes the current window if it returns an error.
HTH
ian
PS, consider I am on saturday morning, and not well awake 
Subject: Simple java scripts!!
The child window can check the status of the parent window by using window.opener. You may need to have this check in a timer loop.
You can do it the other way aound as well. When you open a new window using window.open you get a reference to the newly opened window back. You can store this reference somewhere and check it whan you need to.