title: The correct way of using jQuery index() ; ? Its always returning -1
body: <p>Not sure why this is happening. But everytime I do <code>(elem).index();</code> , it always returns <code>-1</code> . Why is that? </p>
  
  <p>How can I find the index of an object?</p>