title: CodeIgniter + Bootstrap tabs, reload won't return to last active tab
body: <p>this is my first question in here, but I've been lurking for long. I hope I can make it clear.</p>
  
  <p>It happens that I'm developing an <strong>CI application</strong>, with Bootstrap 3 + tabs, and after I make a "form submit" the reload takes me to the first tab, instead of the last active tag.</p>
  
  <pre><code>&lt;ul class="nav nav-tabs" id="tabs"&gt;
      &lt;li class="active"&gt;&lt;a href="#accion" data-toggle="tab"&gt;Acción&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#observaciones" data-toggle="tab"&gt;Observaciones&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#adjuntos" data-toggle="tab"&gt;Adjuntos&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>That's how my tabs are built, and the controller has a redirect() like this:</p>
  
  <pre><code>redirect(base_url().'/responderconsulta/index/'.$consulta_id.'#observaciones');
  </code></pre>
  
  <p>I haven't found a way to correct this. I hope I can get some help.</p>
  
  <p>Thanks in advance.</p>