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

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

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

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


Hope it helps.

I'm glad to know it.

Just mark as solved then.