Accessing individual array elements using jQuery each()
<p>I can't seem to find the answer for this but how can you access an individual array element by it's index number in jQuery's each method?</p>

<p>Stright JS would do it like this:</p>

<pre><code>for(i=0; i&lt;myArray.length; i++)
{
    if(i === 1)
    {    
        // do something
    }
}
</code></pre>

<p>But I can't seem to figure out how to use find the index number in the each method...?</p>

<pre><code>myArray.each(function()
{
    if(this[1])
    {
        // doesn't work?
    }
}
</code></pre>

<p>Thank you for any help.</p>
