Here is the thing, I have tabs across the top of my pages and I want to change the css class when it is clicked.
Example :
When Home is clicked i'd like to change the class from homeNavTab to homeNavTabOn. This won't work with an onclick as once that returns it loads the page and resets the class again.Code:<li class="homeNavTab" id="homeNavTab"><a href="default.aspx">Home</a> </li> <li class="fooNavTab" id="fooNavTab"><a href="foo.aspx">Foo</a> </li>
Any ideas on ways to accomplish this?