I have a function that toggles a sub-menu when the parent is clicked. This works fine. However, if I click on another menu choice (parent) the sub-menu toggles open but the prior sub-menu that was toggled open stays open. What I want is for each toggled sub-men closes if another parent is clicked so only one sub-menu is open at a time.
You mean this:
Open in new window