title: jQuery indexOf function?
body: <p>I'm trying to get a location of an element in a jQuery set.</p>
  
  <p><strong><a href="http://jsfiddle.net/xz9dW/" rel="noreferrer">Here's what I tried so far.</a></strong></p>
  
  <p>I want to be able to do something like this:</p>
  
  <pre><code>$('ul').find('a').indexOf('.active');
  </code></pre>
  
  <p>And get the location of the <code>.active</code> in the set of <code>a</code>'s.</p>
  
  <p>Is there something like an <code>indexOf()</code> function for jQuery? The <code>index()</code> method doesn't work</p>