title: Bootstrap tabs opening tabs on another page
body: <p>I have a page that has bootstrap tabs on it and they are linking to the right content area on that page.</p>
  
  <p>When you are lead away from that page I have the same tabs at the top that I would like to lead them back to the previous page with the right tab open. </p>
  
  <p>This is what my tabs look like on the external page</p>
  
  <pre><code> &lt;ul id="tabs" class="nav nav-tabs" data-tabs="tabs"&gt;
    &lt;li&gt;&lt;a href="page.php#submitted"&gt;Submitted&lt;/a&gt;&lt;/li&gt;
    &lt;li class="active"&gt;&lt;a href="page.php#approved" data-toggle="tab"&gt;Approved&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="page.php#rejected"&gt;Rejected&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="page.php#uploaded"&gt;Uploaded&lt;/a&gt;&lt;/li&gt;
   &lt;/ul&gt;
  </code></pre>
  
  <p>As you can see I have tried linking to that page and calling out the id, which goes to the right page, but does not open that tab. </p>
  
  <p>I have also tried messing around with it in jquery, but nothing valid enough to show. Any help would be much appreciated!</p>
  
  <p>edit:</p>
  
  <p>The tabs on the other page look like this. Just basic bootstrap tabbing.</p>
  
  <pre><code>&lt;ul id="tabs" class="nav nav-tabs" data-tabs="tabs"&gt;
    &lt;li class="active"&gt;&lt;a href="#submitted" data-toggle="tab"&gt;Submitted&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#approved" data-toggle="tab"&gt;Approved&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#rejected" data-toggle="tab"&gt;Rejected&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#uploaded" data-toggle="tab"&gt;Uploaded&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="submitted"&gt;
     &lt;/div&gt;
     &lt;div class="tab-pane" id="approved"&gt;
     &lt;/div&gt;
     &lt;div class="tab-pane" id="rejected"&gt;
     &lt;/div&gt;
     &lt;div class="tab-pane" id="uploaded"&gt;
     &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>