Jquery – How to find the following HTML Element
I have a menu with submenu with a structure like this: <ul> <li> <a class="navigation-item">Menu Item 1</a> <a class="submenu-toggle" /> <ul class="submenu"> <li> <a class="navigation-item">Submenu Item 1</a> </li> </ul> </li> </ul> I want to add a class to submenu-toggle if…