Why does the .index() function not work?
<p>Example: <a href="http://jsfiddle.net/peeter/ePMFe/" rel="nofollow">http://jsfiddle.net/peeter/ePMFe/</a></p>

<p>It returns the index as -1, instead of the actual index. Any ideas are greatly appreciated. </p>
