How does your jQuery know which child menu item was chosen?
it doesn’t – all it does is remove the classes from particular menu items:
jQuery("li#menu-item-15, li#menu-item-409").removeClass("current-menu-ancestor current-menu-parent");
the code only exists in the individual page template I use for that particular page – the page that appears in multiple menu places.
It’s not ideal as it means that no menu item has ‘current’ applied when the page is visited but it’s better than having both parent menu items highlighted!