^
^
^
Sorry about that.
Moderator: General Moderators
Thanks I'll def. use the dependant variable.CoderGoblin wrote:Don't have the code but you should keep track of all the windows you open in an array. Then loop through the array and close them.
As another alternative...
window.open has an option "dependant". When you close the parent window all dependant windows close. Maybe you could use this...