0

Hello all,

I have a function in which onclick one window opens and there is logout option on the parent page.
when I log out i want the child window to close as well.

My native code is in Java and I need something in javascript.

Plz help

2
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by AleMonteiro
0

Something like this, if you are closing from the parent window.

var childWindow = window.open(....);
childWindow.close();

if you want to close from the child window, you can do this:

self.close();

Hope it helps.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.