title: Bootstrap onClick change tab and target a new windows at the same time
body: <p>So I have a button in one of my bootstrap tab-content and I have about 5 nav-tabs.  What I want to do is when you click on the button to go to the final tab and launch a new window at the same time.  </p>
  
  <p>Here is what I've tried. </p>
  
  <pre><code> &lt;a href="#done" 
   onClick="window.open('https://amazon.com', '_blank')" 
   class="btn btn-success"&gt; Marketplace&lt;/a&gt;
  </code></pre>
  
  <p>It launches the new window but the tab doesn't move to the final tab.  Any thoughts?</p>