If I understand you correctly, when you call window.close on the next page you want it to close the child window. I am not sure if this is possible with Javascript if you go to a new page, it might be. You would want to not call window.close but something like myPopUp.close() on the next page.
Someone else might be able to shed so more light on it. Keep in mind that more and more users are blocking all pop ups.
That's correct. I didn't make that clear enough in my first post. When I call the popup I give it a name (i.e. MyWindow) and when I try to close it I call MyWindow.close() and it still will not close.
Ed
There might be a proper way, but this should work:
MyWindow = window.open('', 'MyWindow'); MyWindow.close();
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php