title: jQuery filter - item position
body: <p>Very briefly - 
  <a href="http://api.jquery.com/filter/" rel="nofollow">jQuery filter</a> lets you filter through a list of jQuery objects. It also takes in a jQuery object as a parameter which is really cool. </p>
  
  <p>Now, say I have a list of elements x - [div1, div2, div3, div4] and I have a jQuery object y which refers to div4.</p>
  
  <p>I can get div4 out of said list by simply using <code>x.filter(y)</code> but is there a simple way to get the index of y in x?</p>