title: Bootstrap tabs not switching with next button
body: <p>I want to switch tabs wih next and previous button, but when I click on the button, the content of the are switching well but not the "active tabs". 
  Here a fiddle : <a href="http://jsfiddle.net/ZazaAngular/a5ed16ma/2/" rel="nofollow noreferrer">http://jsfiddle.net/ZazaAngular/a5ed16ma/2/</a></p>
  
  <pre><code>&lt;div class="container"&gt;
  &lt;div id="content"&gt;
      &lt;ul id="tabs" class="nav nav-tabs" data-tabs="tabs"&gt;
          &lt;li id="tab1" class="active"&gt;&lt;a href="#red" data-toggle="tab"&gt;Red&lt;/a&gt;&lt;/li&gt;
          &lt;li  id="tab2"&gt;&lt;a href="#orange" data-toggle="tab"&gt;Orange&lt;/a&gt;&lt;/li&gt;
          &lt;li id="tab3"&gt;&lt;a href="#yellow" data-toggle="tab"&gt;Yellow&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;div id="my-tab-content" class="tab-content"&gt;
          &lt;div class="tab-pane active" id="red"&gt;
              &lt;h1&gt;Red&lt;/h1&gt;
              &lt;p&gt;red red red red red red&lt;/p&gt;
                 &lt;div class="row form-group"&gt;
                     &lt;button class="btn btn-primary btn-xs" data-toggle="tab" data-target="#orange"&gt;
                     &lt;span class="icon-arrow-next"&gt;&lt;/span&gt; Next&lt;/button&gt;
                 &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="tab-pane" id="orange"&gt;
              &lt;h1&gt;Orange&lt;/h1&gt;
              &lt;p&gt;orange orange orange orange orange&lt;/p&gt;
                 &lt;div class="row form-group"&gt;
                    &lt;button class="btn btn-primary btn-xs" data-toggle="tab" data-target="#yellow"&gt;
                    &lt;span class="icon-arrow-next"&gt;&lt;/span&gt; Next&lt;/button&gt;
                  &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="tab-pane" id="yellow"&gt;
              &lt;h1&gt;Yellow&lt;/h1&gt;
              &lt;p&gt;yellow yellow yellow yellow yellow&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thank you for your help</p>