[jQuery] Can't get add/removeClass to work
I have a set of HTML tabs that I am trying to highlight depending
which one is selected.
When I do some debug, I can see that the removeClass and the addClass
seem to work, however it seems that the CSS is perhpas overrides the
change that the removeClass/addClass make.
Here is the code:
HTML:
<ul id="tabmenu">
<li><a class="active" href="<c:url value="/dispatcher?
cn=index&act=index"/>" onclick="activateTabMenu(this);">Main</a></li>
<li><a href="<c:url value="/dispatcher?
cn=registration&act=list"/>" onclick="activateTabMenu
(this);">Registration</a></li>
<li><a href="<c:url value="/dispatcher?cn=scoreCard&act=view"/