I've been using http://www.layoutit.com/ to quickly create a UI with bootstrap 3.
The default example has a nav bar with two links. The example sets the first link as active.
<nav class="navbar navbar-default" role="navigation">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active">
<a href="#">Link</a>
</li>
<li>
<a href="#">Link</a>
</li>
</ul>
</div>
</nav>
With bootstrap, what is the best approach to changing the active link, when I click the link?
Is there somes javascript that I need to add to the link itself?