How to close the child windows from perent window?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yogi_kop
Posted On:   Saturday, April 21, 2001 12:30 AM

Hello friend,
My application requries to close the child windows when perent window is close.
To close the perent window i am using
"session.Inactivate()"
When I click on the button on perent window i want to close all child windows with it.

Thanks
Yogi

Re: How to close the child windows from perent window?

Posted By:   Ravi_Verelly  
Posted On:   Monday, April 23, 2001 01:57 PM

If you are opening the child window using window.open then only it is possible to close the child window from opener window.

Ex:

Open window:

winTest=window.open('test.html','winTest');

Close window:

winTest.close();
About | Sitemap | Contact