How make jquery loop over with number
<p>I am trying to assign a number to my variable i.e. colorswap1, colorswap 2, colorswap 3</p>

<p>I have the following</p>

<pre><code>var i = 1-36;

    // Get current image src
    var curSrc = $('#colorswap'[i]).attr('src');
</code></pre>

<p>It doesn't seem to be putting the desired: colorswap1, colorswap2</p>
