I have a horizontal navigation menu which I can edit the source of, my only option is to add classes dynamically when it loads through JQUERY.
Imagine I have 3 tabs:
Home, Profile, Blog
Each with a link like so:
<a href="home.html">Home</a>
Is it possible for JQUERY to look between the <a> </a>
tags and find the text (E.g. Home) and use that text as the class?
So my <a href="home.html">
becomes: <a class="Home" href="home.html">