title: ".selector " in api documentation of jquery ui tabs
body: <p>I am using jquery ui tabs and it works perfectly.Heres the code for jquery-ui tabs</p>
  
  <pre><code>$(function() {
    $( "#tabs" ).tabs();
  });   
  </code></pre>
  
  <p>Suddenly i came across a scenario where i had to find the index of current active tab.So i went through the <a href="http://api.jqueryui.com/tabs/" rel="nofollow">Api Documentation</a> and find out the below code.</p>
  
  <pre><code>Get or set the active option, after initialization:
  // getter
  var active = $( ".selector" ).tabs( "option", "active" );
  // setter
  $( ".selector" ).tabs( "option", "active", 1 );
  </code></pre>
  
  <p>What is ".selector " here and how can i get the current index of the active tab active tab ?</p>