I’m trying to highlight the parent li element if a link is found either in one of the main li elements, or one of the nested lists for a header I’m working on. I feel like the JS should work, but it doesn’t. Any pointing in the right direction would be much appreciated.
I’m trying to highlight the parent li element if a link is found either
Share
Is this what you are looking for?
JSFiddle:: http://jsfiddle.net/fGGrf/5/