Click link to specific bootstrap tab
<p>Is there a way I can click on a link and have it go to another page and open a specific bootstrap tab?</p>

<p>Here is my html:</p>

<pre><code>&lt;a href="/admin/#tab2"&gt;View Tab 2&lt;/a&gt;
</code></pre>

<p>And on my /admin route I have the bootstrap tab:</p>

<pre><code>&lt;ul class="nav nav-tabs"&gt;
    &lt;li class="active"&gt;&lt;a href="#tab1" data-toggle="tab"&gt;Completed&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#tab2" data-toggle="tab"&gt;Confirmed&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#tab3" data-toggle="tab"&gt;Shipped&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>Upon clicking my link, I want the app to go to the /admin route and show the contents of <code>#tab2</code>. Can someone help?</p>

<p>Thanks in advance!</p>