I'm sure this is very easy but its a friday afternoon and my brain is a little frazzled.
Any help would be appreciated I am looking to traverse to an 'a' tag within a 'li' tag. The li tag has a class of 'menu-item-has-children'. I am trying to add a class to the 'a' tag.
Here is sample markup
<li class="menu-item-has-children">
<a>Item</a>
<ul>some other stuff</ul>
</li>
Any advice on a simple jquery/vanilla approach to doing this?? Thanks :-)