Negative index value?
<p>Consider this JavaScript:</p>

<pre><code>var number = $(".linksMiniImages a").index(this);
alert (number);
</code></pre>

<p>Alert shows <code>-1</code> when I click on a link.</p>

<p>What could be wrong?</p>
