title: Force select a jQuery-ui-tab as default
body: <p>At the moment, I have 2 separate functions which create tabs in the jquery tabs ui.  It seems a bit random as to which tab generated from these 2 functions ends up being the tab which displays by default.</p>
  
  <p>For example, if <code>function tabs_a</code> create 4 tabs, and <code>function tabs_b</code> create another 4 tabs, either the first tab from <code>tabs_a</code> is displayed as the default tab or the first tab from <code>tabs_b</code> is displayed as default.</p>
  
  <p>How do I chose to display/select a specific tab automatically once both functions have finished loading/create the tabs?</p>
  
  <p>For example, if function <code>tabs_a</code> creates:</p>
  
  <pre><code>tab_a_1
  tab_a_2
  tab_a_3
  tab_a_4
  </code></pre>
  
  <p>and tabs_b creates:</p>
  
  <pre><code>tab_b_1
  tab_b_2
  tab_b_3
  tab_b_4
  </code></pre>
  
  <p>at the moment, <code>tab_a_1</code> or <code>tab_b_1</code> will get selected by default, and it seems random which one of these 2 ends up getting selected by default.</p>
  
  <p>How do I for example force <code>tab_b_3</code> to become selected by default?</p>