Array in jQuery does not work
<p>I have an array in jQuery like this </p>

<pre><code>var matches = [];
  jQuery(".block").each(function() {
  matches.push(this);
});
</code></pre>

<p>Now I want to use the matches array like this</p>

<pre><code>var len = jQuery(matches).length;
for (var i = 0; i &lt; len; i++){
  function slider() {
    jQuery(matches[i]).show("slow");
    jQuery(matches[i]).animate({left:'+=730'},3000);
    jQuery(matches[i]).show("normal", slider);
  }
}
</code></pre>

<p>When I put number in the place of I, it works, but the for loop is not working. Please help me where the mistake.</p>
