Got a solution.
Here you will find: fiddle
.menu li a:focus + ul li a{ styles here}
I also added the jQuery equivalent for JavaScript return false for anchors - because by default, the anchor with the a # link reloads the page if it cannot find this jump point. If your code allows this, you can use some element other than the anchor on the first level of the menu, and you donβt need JavaScript.
source share