What I realy need to check is:
1. before child window closes, IF parent is still opened and on the same page
is this possible?
My situation is like this:
In parent window I need to fill in a form. One field is not editable, but you can select one or more items from dropdown option (which is actualy a new child window). I select one or more items in child window and when clickin on "transmit" (or whatever) these selected items need to transfer to the parent (actualy ID's only, but that is already uninterested detail). That's why I need to insure (somehow) that parent is still there with this specific form child was called from.
Hope this makes it clearer? (or even more complicated :)
Thanks!
Main Topics
Browse All Topics





by: COBOLdinosaurPosted on 2003-08-26 at 07:55:05ID: 9224538
all you have to do is close the child window when focus is returnd to the parent. you open the window this way:
ver options you use);
<script>
function youropenfunc()
{
var x = window.open("url",'',whate
}
</script>
Then in the body tag you just need to test to see if the window iexists and is open:
<body onFocus="if (x && !x.closed) x.close()">
Cd&