title: Bootstrap 3 collapsing menu after click
body: <p>I'm having some problem with a Bootstrap menu.
  I want to collapse menu after clicking one of the section instead.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="container" id="home"&gt;
          &lt;nav class="navbar navbar-default navbar-fixed-top" role="navigation"&gt;
              &lt;div class="container-fluid"&gt;
                  &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"&gt;
                          &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                          &lt;span class="icon-bar"&gt;&lt;/span&gt;
                      &lt;/button&gt;
                      &lt;a class="navbar-brand" href="#"&gt;Brand&lt;/a&gt;
                  &lt;/div&gt;
  
                  &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
                  &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
                      &lt;ul class="nav navbar-nav"&gt;
                          &lt;li class="active"&gt;&lt;a href="#home"&gt;HOME&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#philosofy"&gt;PHILOSOFY&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#knowledge"&gt;KNOWLEDGE&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#experience"&gt;EXPERIENCE&lt;/a&gt;&lt;/li&gt;
                          &lt;li&gt;&lt;a href="#interests"&gt;INTERESTS&lt;/a&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
              &lt;/div&gt;&lt;!-- /.container-fluid --&gt;
          &lt;/nav&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I've created this fiddle:</p>
  
  <p><a href="http://jsfiddle.net/kHhgw/" rel="nofollow">http://jsfiddle.net/kHhgw/</a></p>