Displaying english alphabets in a div
<pre><code>for (var a = 0; a &lt; 26; a++) {
                var alpha = $('&lt;span class="alpha" /&gt;');
                alpha.addClass('alpha-' + (a % 2) + 1);
                $('.alphabets').append(alpha);
                $('.alpha').text(String.fromCharCode(65 + a));
            }
</code></pre>

<p>i am doing something like this and i know i am making mistake in </p>

<pre><code>$('.alpha').text(String.fromCharCode(65 + a));
</code></pre>

<p>thats why i am getting "Z" in every span but i am not getting how to fix this</p>
