Two elements that needs to be manipulated with JS:
For the above element:
I want OnMouseHover to replace the class value:
PopupClose with PopupOpen
At the same time, the above element style attribute to change its value from:
display: none; to display: block;
Sample of HTML structure:
<li class="navTab myFirstTab Popup PopupControl PopupClosed PopupContainerControl">
<a href="#" class="navLink">On hover I should have a DropDown</a>
<a href="#" class="SplitCtrl" rel="Menu"></a>
</li>
<li class="navTab mySecondTab Popup PopupControl PopupClosed PopupContainerControl uix_rightMost">
<a href="#" class="navLink">On hover I should have a DropDown​2</a>
<a href="#" class="SplitCtrl" rel="Menu"></a>
</li>
<!-- members -->
<!-- extra tabs: end -->
<!-- responsive popup -->
<li class="navTab navigationHiddenTabs navTab--j justIcon Popup PopupControl PopupClosed PopupContainerControl" style="display: none;">
<a rel="Menu" class="navLink NoPopupGadget uix_dropdownDesktopMenu"><i class="uix_icon uix_icon-navOverflow"></i><span class="uix_hide menuIcon">ham</span></a>
</li>
Here is my webpage link for any refrence: Website