I want to use bootstrap dropdown menu, but problem is that i cant find how to change menu from list to be active?Any suggestion?
<li class="dropdown">
<?php
global $easy_translation_manager_plugin;
$current_lang = $easy_translation_manager_plugin->selectede_lang;
?>
<button class="btn btn-default dropdown-toggle" style="background-color:transparent;color:white;border-right:white;border-bottom:none;boder-left:none;border-top:none;font-weight:bold;" type="button" data-toggle="dropdown"><?php echo ($current_lang == 'en') ? 'EN' : 'BS'; ?>
<span class="caret" style="color:red;"></span></button>
<ul class="dropdown-menu">
<li><a href="<?php echo $url=strtok($_SERVER["REQUEST_URI"],'?'); ?>?lang=<?php echo ($current_lang == 'en') ? 'bs' : 'en'; ?>"><?php echo ($current_lang == 'en') ? 'BS' : 'EN'; ?></a>
</li>
</ul>
</li>