I am attempting to dynamically change the class of a tab on the dashboard based on the selected page. In the dashboard, there are 3 tabs:
<div>
<ul class="menu">
<li class="MenuDashboard"><a href="#" >Dashboard</a></li>
<li class="MenuSearch"><a href="#">Search</a></li>
<li class="MenuAccountSetup"><a href="#">Account Set up</a></li>
</ul>
</div>
My goal is to highlight the selected tab, with the 'Dashboard' tab initially highlighted. I have a class named "current" that can be used to highlight the tab. Any advice on how to approach this?