I have a menu using the following code,
<ol id="feature_list">
<li><a href="index.php?action=profile" class="feature_current">Profile</a></li>
<li><a ....></li>
</ol>
When clicked the same page is loaded and I use the following code to include the required php file.
if (($_GET['action']) == 'profile') {
include('profile.php'); }
}
Now I want to set active class 'feature_current' to menu dynamically based on the link clicked , how can i do it ?