title: Select tab by name in jquery UI 1.10.0
body: <p><strong><em>Before</em></strong>  <em>jquery UI 1.10.0</em> I used to indirectly select a tab like this:</p>
  
  <pre><code>$("#tabs").tabs( "select", 5 );
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$("#tabs").tabs( "select", "tab6" );
  </code></pre>
  
  <p>Now, with the same code, using <em>jquery UI 1.10.0</em> ,  you get an error saying that there is "<strong><em>no such method 'select' for tabs widget instance</em></strong>".</p>
  
  <p>I changed the code to use the "option" "active" like this:</p>
  
  <pre><code>$("#tabs").tabs( "option","active", 5 );
  </code></pre>
  
  <p>However, it looks like I can use only the index. Selecting by ID is not working anymore.
  So, instead of using the ID like this (which is not working) :</p>
  
  <pre><code>$("#tabs").tabs( "option","active", "tab6" );
  </code></pre>
  
  <p>you have to do it like this:</p>
  
  <pre><code>var idx = $('#tabs a[href="#tab6"]').parent().index();
  $("#tabs").tabs( "option", "active", idx );
  </code></pre>
  
  <p>or, in a shorter form</p>
  
  <pre><code>$("#tabs").tabs( "option", "active", $("#tab6").parent().index() );
  </code></pre>
  
  <p>I read the "changelog" (<a href="http://jqueryui.com/changelog/1.10.0/" rel="noreferrer">http://jqueryui.com/changelog/1.10.0/</a>) and I don't see anything about this change.</p>
  
  <p>Is there another way of selecting a tab by name in <em>jquery UI 1.10.0</em> ? </p>
  
  <p>I created a demo here for whoever wants to try...</p>
  
  <p><a href="http://jsbin.com/ojufej/1" rel="noreferrer">http://jsbin.com/ojufej/1</a></p>