title: how to go to other Tab by clicking button inside the current Tab in bootstrap
body: <p>Hi I want to go to "Menu 3" Tab by clicking the "Next" inside "Menu 2" as shown in below image:</p>
  
  <p><a href="http://i.stack.imgur.com/qUvyi.png" rel="nofollow">Image</a></p>
  
  <p>Here is the code for it:</p>
  
  <pre><code>&lt;body&gt;
  
  &lt;div class="container"&gt;
    &lt;h2&gt;Dynamic Tabs&lt;/h2&gt;
    &lt;ul class="nav nav-tabs"&gt;
      &lt;li class="active"&gt;&lt;a data-toggle="tab" href="#home"&gt;Home&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="tab" href="#menu1"&gt;Menu 1&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="tab" href="#menu2" disable="disabled"&gt;Menu 2&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="tab" href="#menu3"&gt;Menu 3&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  
    &lt;div class="tab-content"&gt;
      &lt;div id="home" class="tab-pane fade in active"&gt;
        &lt;h3&gt;HOME&lt;/h3&gt;
        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div id="menu1" class="tab-pane fade"&gt;
        &lt;h3&gt;Menu 1&lt;/h3&gt;
        &lt;p&gt;Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div id="menu2" class="tab-pane fade"&gt;
        &lt;h3&gt;Menu 2&lt;/h3&gt;
        &lt;p&gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.&lt;/p&gt;
           &lt;a href="#"&gt;Next&lt;/a&gt;
      &lt;/div&gt;
      &lt;div id="menu3" class="tab-pane fade"&gt;
        &lt;h3&gt;Menu 3&lt;/h3&gt;
        &lt;p&gt;Eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.&lt;/p&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>Please help me with this, also is it possible to make the tab disabled?</p>