How do I close all child popup windows which are already opened using jquery, after the user logs out?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As commented, your question is quite vague but maybe you should try to store the references to the popup windows e.g. in an array and close all those windows when logging out. The exact code depends on how you open the popups.