Say I have the following Dijit tabs in a tab container:
tab_1
tab_dave
tab_2
tab_3
...
tab_n
How could I close all tabs apart from tab_dave?
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.
One way to do it would be to loop through all the children, removing the ones without that particular name or id.
Seems quite slow though, it’d be nice if there was a cleaner way (so don’t accept my answer! 🙂 )