I'm dealing with a menu that has submenus of its own.
Issue: Upon loading the page, I notice that the website is adding an extra letter S at the end of each submenu.
How can I eliminate that letter S from the end of every submenu using JQuery or CSS?
Here is the current HTML structure when inspecting the node in Firebug:
<nav class="shopMenuHover">
<div id="bx_incl_area_5_1">
<ul>
<li class=""><a href="#" class="firstLevel"><font><font>Main Menu 1</font></font></a>
<div class="shopSubmenuHover" style=""><h2><a href="#"><font><font>Sub Menu 1</font></font></a></h2>
<ul>
<li>
<a href=""><font><font>Sub Menu > Sub Menu</font></font></a>
</li>
<li><a href="">Sub Menu > Sub Menu</a> s</li>
</ul>
</div>
</li>
<li class="firstLevel hasSubmenu instrumentarium-en-fresen">
<a href="#" class="firstLevel"><font><font class="">Main Menu 2</font></font></a>
<div class="shopSubmenuHover" style=""><h2><a href=""><font><font class="">Sub Menu 2</font></font></a></h2>
<ul>
<li><a href=""><font><font>Sub Menu > Sub Menu</font></font></a></li>
<li><a href="">Sub Menu > Sub Menu</a> s</li>
</ul>
</div>
</li>
<li style="display:none " class="firstLevel hasSubmenu emptySubmenu outlet">
<a href="#" class="firstLevel">Outlet<</a>
</li>
</ul>
</div>
</nav>
This is the jQuery code I've been using to target the last li element in each ul:
<script type="text/javascript">
$(document).ready(function() {
$('.shopMenuHover ul li:last-child').css( "border", "1px solid" );
});
</script>
Any assistance would be greatly appreciated...