my array "is not a function" error message
<p>I am trying to store some DOM information into an Array so I can use it elsewhere.</p>

<p>This works if I use a Variable, but if I try to use an Array I get "Arrayname is not a function" error message?  I'm not sure why this would work in a Variable and not an array.</p>

<p>This is the code I'm running:</p>

<pre><code>function testmove(total) {
    for (var x=1; x&lt;=total; x++) {
        allstore(x) = jQuery('#block-views-items-block .views-row-1').children('div');
        x++;
    }
}
</code></pre>

<p>This works:</p>

<pre><code>function testmove(total) {
    store1 = jQuery('#block-views-items-block .views-row-1').children('div');       
}
</code></pre>

<p>Am I missing something/doing something wrong here?</p>
