title: How to redirect to the current tab after clicking save on the current tab
body: <p>I have implemented <code>nav-tabs</code> in my project using bootstrap.When we enter the application,Home tab is active.When i make changes in the other tabs and press save button,the page is going to the Home tab.</p>
  
  <p>I want the tab on which i've made changes to be active.</p>
  
  <p>The below is similar code i've used in my project.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="nav"&gt;
           &lt;div class="container"&gt;
          &lt;div class="tabbable"&gt;
      &lt;ul class="nav nav-tabs" data-tabs="tabs" id="myTab"&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="#about"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="tab" href="#subscribe"&gt;Subscribe&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="tab" href="#search"&gt;Search&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="tab" href="#logout"&gt;Logout&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;div class="tab-content"&gt;
      &lt;div class="tab-pane active" id="home"&gt;
          &lt;h1&gt;Hospital Data Solutions&lt;/h1&gt;
          &lt;p&gt;Financial Analysis Database&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="tab-pane" id="about"&gt;
          &lt;h1&gt;About Us&lt;/h1&gt;
          &lt;p&gt;Cost Reports and Financial Analysis Nationwide Database&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="tab-pane" id="subscribe"&gt;
          &lt;h1&gt;Annual Subscription&lt;/h1&gt;
          &lt;p&gt;Purchase an annual subscription to access all cost reports.&lt;/p&gt;
      &lt;h2&gt;Individual Cost Reports&lt;/h2&gt;
      &lt;p&gt;Purchase individual cost reports directly from us in .pdf, .xs, .csv formats.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="tab-pane" id="search"&gt;
          &lt;h1&gt;Search our database&lt;/h1&gt;
          &lt;p&gt;Search content goes here.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="tab-pane" id="logout"&gt;
          &lt;h1&gt;logout&lt;/h1&gt;
          &lt;p&gt;Logout fx goes here.&lt;/p&gt;
      &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Fiddle <a href="https://jsfiddle.net/iamraviteja/nh6ma48r/11/" rel="nofollow">here</a></p>