how to close all the opened windows(except the parent)onclick from a parent window in javascript?
<p>I have a parent window which calls for a function that opens 2 new windows in javascript.
When I click a close button, I want to close both the child windows.
I tried window.close(windowname); windowName.close(). Both didn't work.</p>

<p>Please help..</p>
