Answer the question
In order to leave comments, you need to log in
How to highlight active submenu item?
Hello. Tell me how to highlight the active submenu item
in this example https://jsfiddle.net/0h87Lsuo/ ? I tried to use the code from the example for a single-level menu, but in this case two items are highlighted at once. How to correctly pass a unique index, or implement it in a different approach?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question