hey
I want to make a menu, and change the class when clicking.
When i click on the "li" with no class="active"
, i want jquery to add a class on the empty <li>
and remove it from the othes "li".
<li class="active"><a href="javascript:;" onclick="$.data.load(1);">data</a></li>
<li><a href="javascript:;" onclick="$.data.load(2);">data 2</a></li>
can somebody help me ? :)